demo() is not demo [Power / Sample Size]
❝ Nice to see you now more often here
.
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:
- 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 not d_labes 2013-06-14 13:28
- demo() is not demoyjlee168 2013-06-15 22:04
- To demo() or not d_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
