Hello! SORRY PROBLEMS WITH FUNCTIONS AGAIN... I NEED TO RUN A qqPlot ...I TRIED TO INSTALL IT , BUT A WARNING MESSAGE SAID qqPlot is not available for version 3.1.2. qqPlot(residuals(anc0),id.method="identify") Error: could not find function "qqPlot"> install.packages("qqPlot")Installing package into ?C:/Users/chiribogax/Documents/R/win-library/3.1? (as ?lib? is unspecified) Warning in install.packages : package ?qqPlot? is not available (for R version 3.1.2) WHAT CAN ID DO? THANK YOU, Xavier
Let's see... You can spell it qqplot. You can avoid trying to install nonexistent packages with made-up names. You can learn to use www.rseek.org You can learn how to undo your caps lock key. ;) But do try the first one, in the form of ?qqplot Sarah On Fri, Feb 13, 2015 at 4:32 PM, CHIRIBOGA Xavier <xavier.chiriboga at unine.ch> wrote:> Hello! SORRY PROBLEMS WITH FUNCTIONS AGAIN... > > > > I NEED TO RUN A qqPlot ...I TRIED TO INSTALL IT , BUT A WARNING MESSAGE SAID > > > > qqPlot is not available for version 3.1.2. > > > > > > > > qqPlot(residuals(anc0),id.method="identify") > Error: could not find function "qqPlot" >> install.packages("qqPlot") > Installing package into ?C:/Users/chiribogax/Documents/R/win-library/3.1? > (as ?lib? is unspecified) > Warning in install.packages : > package ?qqPlot? is not available (for R version 3.1.2) > > > > WHAT CAN ID DO? > > > > THANK YOU, > > > > Xavier > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.-- Sarah Goslee http://www.functionaldiversity.org
> On Feb 13, 2015, at 1:32 PM, CHIRIBOGA Xavier <xavier.chiriboga at unine.ch> wrote: > > Hello! SORRY PROBLEMS WITH FUNCTIONS AGAIN... > > > > I NEED TO RUN A qqPlot ...I TRIED TO INSTALL IT , BUT A WARNING MESSAGE SAID > > > > qqPlot is not available for version 3.1.2.What do you want? There is a "qqplot" function in the stats package. Beyond that, consider the following: library(sos) qqp <- ???qqPlot # This downloaded 233 links in 96 packages for me just now. sum(qqp$Package=='qqPlot') # 0 ... i.e., there is no package by that name (and hasn't been one on CRAN, I don't think) qqp # Opens a page in your default browser containing a table, the first entry of which is for a function "qqPlot" in the "EnvStats" package. Hope this helps. Spencer> > > qqPlot(residuals(anc0),id.method="identify") > Error: could not find function "qqPlot" >> install.packages("qqPlot") > Installing package into ?C:/Users/chiribogax/Documents/R/win-library/3.1? > (as ?lib? is unspecified) > Warning in install.packages : > package ?qqPlot? is not available (for R version 3.1.2) > > > > WHAT CAN ID DO? > > > > THANK YOU, > > > > Xavier > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.
Dear Xavier, Perhaps you mean the qqPlot() function in the car package. If so, you should install the car package. As well, if anc0 is a linear or generalized linear model, qqPlot() has a method for plotting studentized residuals and you'd probably prefer to use that rather than extracting the residuals from the model. I hope this helps, John ------------------------------------------------------- John Fox, Professor McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/> -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of > CHIRIBOGA Xavier > Sent: February-13-15 4:33 PM > To: r-help at r-project.org > Subject: [R] qq-Plot function in version 3.1.2. > > Hello! SORRY PROBLEMS WITH FUNCTIONS AGAIN... > > > > I NEED TO RUN A qqPlot ...I TRIED TO INSTALL IT , BUT A WARNING MESSAGE > SAID > > > > qqPlot is not available for version 3.1.2. > > > > > > > > qqPlot(residuals(anc0),id.method="identify") > Error: could not find function "qqPlot" > > install.packages("qqPlot") > Installing package into 'C:/Users/chiribogax/Documents/R/win-library/3.1' > (as 'lib' is unspecified) > Warning in install.packages : > package 'qqPlot' is not available (for R version 3.1.2) > > > > WHAT CAN ID DO? > > > > THANK YOU, > > > > Xavier > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.--- This email has been checked for viruses by Avast antivirus software. http://www.avast.com