Gutting PowerTOST [R for BE/BA]
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?
If you want further information about the arguments and their defaults, type
sampleN.RSABE(CV=0.4, theta0=0.9, targetpower=0.8, design="2x2x4")
?sampleN.RSABEin 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.RSABEis contained in
The quality of responses received is directly proportional to the quality of the question asked. ☼