Hello, I'm a new user of the R environment. I need to do some power analysis. For this purpose, I installed the "pwr" package from the R window, but unfortunately something went wrong. The installation of the package was successful (I got a message saying so in R) but when I enter a function of that package it says that the function does not exist! I appreciate your help, Sincerely, Samar Mouchawrab
see ?library You need to load the package before R can access its functions. Kingsford Jones On Mon, May 5, 2008 at 12:18 PM, <samar at sce.carleton.ca> wrote:> Hello, > > I'm a new user of the R environment. I need to do some power analysis. For > this purpose, I installed the "pwr" package from the R window, but > unfortunately something went wrong. The installation of the package was > successful (I got a message saying so in R) but when I enter a function of > that package it says that the function does not exist! > > I appreciate your help, > > Sincerely, > Samar Mouchawrab > > ______________________________________________ > 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. >
On Mon, 05-May-2008 at 03:18PM -0400, samar at sce.carleton.ca wrote:> Hello, > > I'm a new user of the R environment. I need to do some power analysis. For > this purpose, I installed the "pwr" package from the R window, but > unfortunately something went wrong. The installation of the package was > successful (I got a message saying so in R) but when I enter a function of > that package it says that the function does not exist! > > I appreciate your help,My guess is that you didn't load it. try library(pwr) HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Middle minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Anon ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.