Good point! [Power / Sample Size]

posted by intuitivepharma – India, 2015-08-19 09:47 (3166 d 19:50 ago) – Posting: # 15297
Views: 10,623

Dear Helmut,

I am getting the following error while executing the R Code.

Error in res[j, 7] <- sprintf("%.5f", power.TOST(CV = CV, n = c(n.TR[j],  :
  number of items to replace is not a multiple of replacement length


And the out put is

n TR RT TR.do RT.do        prob power
 30 12 18     6     0 0.009530792  <NA>
 30 13 17     5     1        <NA>  <NA>
 30 14 16     4     2        <NA>  <NA>
 30 15 15     3     3        <NA>  <NA>
 30 16 14     2     4        <NA>  <NA>
 30 17 13     1     5        <NA>  <NA>
 30 18 12     0     6        <NA>  <NA>


Am I missing some thing during copy paste.

Thanks & Regards,
IP.

Complete thread:

UA Flag
Activity
 Admin contact
22,988 posts in 4,825 threads, 1,653 registered users;
83 visitors (0 registered, 83 guests [including 6 identified bots]).
Forum time: 05:38 CEST (Europe/Vienna)

The whole purpose of education is
to turn mirrors into windows.    Sydney J. Harris

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