[R] Trouble installing pwr package

Gavin Simpson gavin.simpson at ucl.ac.uk
Tue Sep 21 21:04:45 CEST 2010


On Tue, 2010-09-21 at 12:04 -0500, Erik Iverson wrote:
> 
> Erik Iverson wrote:
> > 
> > 
> > Brian J Mingus wrote:
> >> Hi all,
> >>
> >> I'm having trouble getting access to the pwr. This is on Ubuntu Lucid 
> >> Lynx,
> >> 64 bit.
> >>
> >> I'm installing pwr via packages.install('pwr'), and loading it via
                           ^^^^^^^^^^^^^^^^^^^^^^^
> >> library(pwr), both of which appear successful.

Isn't the problem here (^^ above). There is no function
packages.install().

There is a package 'pwr' and it has lots of functions as

?`pwr-package`

shows, they are just not simply named "pwr".

HTH

G

> > 
> > Perhaps the actual output would help here.
> > 
> >>
> >> Strangely, I never get access to the pwr object in R.
> > 
> > Not familiar with the package, but is there such a thing
> > as the 'pwr object'?
> 
> I just installed the package, and there is no "pwr" function.
> 
> There are such functions as:
> power.t.test, power.prop.test, power.anova.test
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the R-help mailing list