Gutting PowerTOST [R for BE/BA]

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

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,613 posts in 4,160 threads, 1,341 registered users;
online 11 (1 registered, 10 guests [including 5 identified bots]).
Forum time (Europe/Vienna): 18:05 CEST

Every sentence I utter must be understood
not as an affirmation
but as a question.    Niels Bohr

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