R’s packages [Power / Sample Size]

posted by Helmut Homepage – Vienna, Austria, 2013-02-24 18:00 (4446 d 11:16 ago) – Posting: # 10115
Views: 8,319

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,424 posts in 4,927 threads, 1,671 registered users;
42 visitors (0 registered, 42 guests [including 7 identified bots]).
Forum time: 06:16 CEST (Europe/Vienna)

The whole purpose of education is
to turn mirrors into windows.    Sydney J. Harris

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