PowerTOST’s functions with as.character(design) [Power / Sample Size]

posted by d_labes  – Berlin, Germany, 2020-05-13 18:50 (340 d 03:55 ago) – Posting: # 21435
Views: 4,661

Dear Helmut,

» oh, f**k! I forgot that users may not have updated yet.

Don't worry. Many R users are fallen or will fall into this trap I think, amongst others me.

» Shall we add a line to PowerTOST’s functions as a precaution?
»   if (is.factor(design)) design <- as.character(design)

Not a bad idea. But don't really know if this is absolutely necessary and if it pays the effort.



Complete thread:

 Admin contact
21,419 posts in 4,475 threads, 1,508 registered users;
online 16 (0 registered, 16 guests [including 2 identified bots]).
Forum time: Sunday 22:45 CEST (Europe/Vienna)

Nothing fails like success because you do not learn anything from it.
The only thing we ever learn from is failure.
Success only confirms our superstitions.    Kenneth E. Boulding

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