demo() is not demo [Power / Sample Size]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2013-06-16 00:04 (4751 d 05:51 ago) – Posting: # 10802
Views: 9,487

Dear Detlew,

❝ Nice to see you now more often here :cool:.


Thank you. I dive more often than surf. Really enjoy this forum.

❝ But some buts:

❝ -The scripts are not intended to demonstrate something in PowerTOST but to test the results for correctness. Thus it seems illogical to me to create demos.


Yes, I know. Sorry to confuse you a little bit here. I just try to provide a easy-to-assess way for the R scripts that you put under .../tests folder. It doesn't mean that these R scripts are all demo.

❝ -To avoid the clutter between R statements and output (occurs if one works as you described) there is a simpler way: use the R function source() in the console, f.i.

source("C:/path/name/to/scripts/test_2x2.R")

❝ and you will not see any echo of the statements in the script but only the output.


Yes, you're right. How I can forget this function! I know this function from a R book (The art of R programming: tour of statistical software design by Norman Matloff, 2011) while ago.

❝ As IDE I recommend RStudio or the among many developers of all kind well known Eclipse with the add-in StatET.


I used RStudio before and it is very nice IDE. However, I got some forced to close situations when I used R v3.0.0 alpha and beta. So I switched back to a plain editor again. I still have RStudio installed on my computer. I will try Eclipse with StatET later. Thank you for your information.

All the best,
-- Yung-jin Lee
bear v2.9.6:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here

Complete thread:

UA Flag
Activity
 Admin contact
23,654 posts in 4,992 threads, 1,570 registered users;
147 visitors (0 registered, 147 guests [including 13 identified bots]).
Forum time: 05:55 CEST (Europe/Vienna)

Actually, science starts to become interesting
only where it ends.    Justus von Liebig

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