Run R-packages in the browser [R for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2019-12-20 13:45 (668 d 20:03 ago) – Posting: # 21009
Views: 2,022

Hi Shuanghe,

» Now I can estimate sample size and do some basic plotting on my iPhone!

Didn’t expect plotting to be possible…

x <- pa.ABE(CV = 0.3)
plot(x)


Crazy stuff:

CV  <- c(0.3, 0.4, 0.5, 0.57382)
rc  <- reg_const("USER", r_const = 0.76,
                 CVswitch = 0.4, CVcap = 0.5) # ANVISA < 2016
res <- data.frame(CV = CV, EMA.L = NA, EMA.U = NA,
                  HC.L = NA, HC.U = NA,
                  ANVISA.2015.L = NA, ANVISA.2015.U = NA)
for (i in seq_along(CV)) {
  res[i, 2:3] <- sprintf("%.2f%%", 100*scABEL(CV = CV[i], regulator = "EMA"))
  res[i, 4:5] <- sprintf("%.1f%%", 100*scABEL(CV = CV[i], regulator = "HC"))
  res[i, 6:7] <- sprintf("%.2f%%", 100*scABEL(CV = CV[i], regulator = rc))
}
print(res, row.names = FALSE)


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,738 posts in 4,546 threads, 1,543 registered users;
online 5 (0 registered, 5 guests [including 4 identified bots]).
Forum time: Tuesday 10:49 CEST (Europe/Vienna)

Sometimes the key to an answer is found
in the way you formulate the question.    David Brin

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