speed? [🇷 for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2020-04-30 14:38 (1849 d 05:11 ago) – Posting: # 21370
Views: 26,771

Hi Yung-jin,

❝ R v4.0.0 seems running faster on Windows …


Really? I removed 3.6.3 yesterday. If you still have it, can you do me a favor and perform a demanding check (sample size by 105 subject simulations for a partial replicate design with heterogenicity, the EMA’s approach of reference-scaling, assumed T/R-ratio 0.9, target power 0.8, five runs):

library(PowerTOST)
if (packageVersion("PowerTOST") < "1.4.8") {
  stop("Please install the latest version from CRAN.")
} else {
  CVp <- 0.4                                      # pooled CVw
  CV  <- signif(CVp2CV(CV = CVp, ratio = 2.5), 4) # CVwT > CVwR
  t   <- numeric(5)
  for (j in seq_along(t)) {
    t[j] <- system.time(sampleN.scABEL.sdsims(CV = CV, design = "2x3x3",
                                              progress = FALSE, details = FALSE,
                                              print = FALSE)[["Sample size"]])[3]   }
  cat(sprintf("%.2f seconds", median(t)), "\n")
}


BTW, I love that in 4.0.0 the default of stringsAsFactors was changed to FALSE.
Something I regularly forgot in imports or assigning data.frames;-)

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

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

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,681 registered users;
63 visitors (0 registered, 63 guests [including 14 identified bots]).
Forum time: 19:49 CEST (Europe/Vienna)

Pharmacokinetics may be simply defined as
what the body does to the drug,
as opposed to pharmacodynamics, which may be defined as
what the drug does to the body.    Leslie Z. Benet

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