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

posted by d_labes  – Berlin, Germany, 2020-05-13 18:50  – Posting: # 21435
Views: 2,462

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.

Regards,

Detlew

Complete thread:

Activity
 Admin contact
20,647 posts in 4,328 threads, 1,436 registered users;
online 43 (1 registered, 42 guests [including 30 identified bots]).
Forum time: 12:15 CEST (Europe/Vienna)

A little Learning is a dang’rous Thing;
Drink deep, or taste not the Pierian Spring:
There shallow Draughts intoxicate the Brain,
And drinking largely sobers us again.    Alexander Pope

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