Gutting PowerTOST [R for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2018-11-02 10:50  – Posting: # 19523
Views: 855

Hi GM,

not Detlew but answering anyway. ;-)

» I am trying to calculate the sample size for replicate design using R software with sampleN.RSABE.

So why are you not simply using it?

library(PowerTOST)
sampleN.RSABE(CV=0.4, theta0=0.9, targetpower=0.8, design="2x2x4")

If you want further information about the arguments and their defaults, type ?sampleN.RSABE in the R-console / R-Studio’s console or consult the online manual.

» I am a beginner of R software

If you want to dive into the code, be aware of R’s steep learning curve.

» […] but I tried to understand this.

OK, this is a laudable.

» There are some intermediate functions like .sampleN0, .sampleN0.2, .power.RSABE are involved.
» I got the informationn of first two functions from the same github. but not the third one.

.power.RSABE is contained in power_RSABE2L_isc.R.

Cheers,
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. ☼
Science Quotes

Complete thread:

Activity
 Mix view
Bioequivalence and Bioavailability Forum |  Admin contact
19,478 posts in 4,133 threads, 1,333 registered users;
online 11 (0 registered, 11 guests [including 10 identified bots]).
Forum time (Europe/Vienna): 04:55 CEST

If you don’t know anything about computers,
just remember that they are machines that do exactly what you tell them
but often surprise you in the result.    Richard Dawkins

The BIOEQUIVALENCE / BIOAVAILABILITY FORUM is hosted by
BEBAC Ing. Helmut Schütz
HTML5