To demo() or not [Power / Sample Size]
Dear Yung-jin!
Nice to see you now more often here
.
You answered a question not really asked
.
Thanks nevertheless for your suggestion, I will give it a try if my time will allow it.
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.
-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
and you will not see any echo of the statements in the script but only the output.
If you not use the plain console or the simple RGui but an IDE (integrated development environment), and each real R-user should, you can even do the run of scripts by a single mouse click.
As IDE I recommend RStudio or the among many developers of all kind well known Eclipse with the add-in StatET.
Nice to see you now more often here

You answered a question not really asked

Thanks nevertheless for your suggestion, I will give it a try if my time will allow it.
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.
-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.
If you not use the plain console or the simple RGui but an IDE (integrated development environment), and each real R-user should, you can even do the run of scripts by a single mouse click.
As IDE I recommend RStudio or the among many developers of all kind well known Eclipse with the add-in StatET.
—
Regards,
Detlew
Regards,
Detlew
Complete thread:
- Power for unbalanced cross-over d_labes 2011-01-14 15:21
- Great post! Helmut 2011-01-14 16:16
- Santa is coming d_labes 2011-12-22 09:30
- PowerTOST Ben 2012-01-02 17:39
- BIBDs Helmut 2012-01-02 17:53
- Uuups d_labes 2012-01-17 11:49
- the \tests subdirectory in a R-package yjlee168 2013-06-11 23:03
- To demo() or notd_labes 2013-06-14 13:28
- demo() is not demo yjlee168 2013-06-15 22:04
- To demo() or notd_labes 2013-06-14 13:28
- OT: issue of '\tests' subdir again yjlee168 2013-09-28 23:23
- the \tests subdirectory in a R-package yjlee168 2013-06-11 23:03
- Uuups d_labes 2012-01-17 11:49
- PowerTOST robust d_labes 2012-01-17 11:53
- BIBDs Helmut 2012-01-02 17:53
- PowerTOST Ben 2012-01-02 17:39
- Santa is coming d_labes 2011-12-22 09:30
- Great post! Helmut 2011-01-14 16:16