Gutting PowerTOST [R for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2018-11-02 10:50 (1003 d 20:00 ago) – Posting: # 19523
Views: 2,661

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.

Dif-tor heh smusma 🖖
Helmut Schütz
[image]

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

Complete thread:

Activity
 Admin contact
21,596 posts in 4,516 threads, 1,532 registered users;
online 15 (0 registered, 15 guests [including 4 identified bots]).
Forum time: Monday 07:50 CEST (Europe/Vienna)

Imagine if every Thursday your shoes exploded
if you tied them the usual way.
This happens to us all the time with computers,
and nobody thinks of complaining.    Jef Raskin

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5