no need Winzip to install any R package [Power / Sample Size]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2014-06-26 12:36 (4378 d 19:07 ago) – Posting: # 13149
Views: 8,033

Hi Abel,

I don't think that you need Winzip to install any R package. After installing R, open R console and type install.packages("Power2Stage") and then select CRAN mirror that is close to your from pop-up list to install Power2Stage. Done! And then type library(Power2Stage) to load the package first. Next follow Helmut's codes to run it. Not need to know how to do coding stuffs in R too, if you just want to run Power2Stage. If you install Power2Stage this way, it will also install PowerTOST simultaneously for you.

If you prefer downloading Power2Stage.zip first from CRAN mirror site; you can open R console and click Packages on the top menu and select Install package(s) from local zip files... and then find your Power2Stage.zip. It will install Power2Stage too. IMHO, I don't recommend this way because it will not install dependent package (if any) simultaneously. If it is the case, you will need to install these dependent packages manually. AFAIK, Power2Stage requires PowerTOST. That means you have to install PowerTOST manually if you have not installed it yet.

❝ ... Already installed R in my computer. As for PowerTOST, I still need to update my Winzip in order to extract the files.


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,655 posts in 4,993 threads, 1,572 registered users;
130 visitors (0 registered, 130 guests [including 28 identified bots]).
Forum time: 07:44 CEST (Europe/Vienna)

Scientists cannot simply hang their subjectivities
up on a hook outside the laboratory door.    Ruth Bleier

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