R’s packages [Power / Sample Size]

posted by Helmut Homepage – Vienna, Austria, 2013-02-24 18:00 (4870 d 10:56 ago) – Posting: # 10115
Views: 9,799

Dear Ken!

❝ I presume the installation and instruction to run the software is the same as R/PowerTOST.


Yes. Once you installed a package and loaded it – by load(package)* library(package) or require(package) – you can always get instructions by help(package="…").
Write your scripts in any text-editor and save it with the extension .R (not .txt!). Once in the R-console > File > Source R code… (navigate to the *.R-file > Open) runs the script.
I prefer require(package) over load(package) library(package) because the former loads the package only if not already loaded (saves some fractions of a second). ;-)


P.S.: In the future please delete everything from the text of the original poster which is not necessary in understanding your answer; see also this post!

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,655 posts in 4,993 threads, 1,570 registered users;
170 visitors (0 registered, 170 guests [including 24 identified bots]).
Forum time: 05:57 CEST (Europe/Vienna)

Don’t compromise yourself.
You are all you’ve got.    Janis Joplin

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