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

posted by Helmut Homepage – Vienna, Austria, 2020-05-13 18:55 (137 d 07:43 ago) – Posting: # 21436
Views: 3,836

Dear Detlew,

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

Count me in.

» » 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.

It’s easy for us. But you’re right: Duno how many times a user would set up a data.frame and call the design-argument in a loop.

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,079 posts in 4,396 threads, 1,468 registered users;
online 9 (0 registered, 9 guests [including 2 identified bots]).
Forum time: Monday 02:39 CEST (Europe/Vienna)

A central lesson of science is that to understand complex issues
(or even simple ones), we must try to free our minds of dogma and
to guarantee the freedom to publish, to contradict, and to experiment.
Arguments from authority are unacceptable.    Carl Sagan

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