[R] qq-Plot function in version 3.1.2.

1,055 views
Skip to first unread message

CHIRIBOGA Xavier

unread,
Feb 13, 2015, 4:34:51 PM2/13/15
to r-h...@r-project.org
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-h...@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

unread,
Feb 13, 2015, 4:46:25 PM2/13/15
to CHIRIBOGA Xavier, r-h...@r-project.org
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

--
Sarah Goslee
http://www.functionaldiversity.org

Spencer Graves

unread,
Feb 13, 2015, 4:48:08 PM2/13/15
to CHIRIBOGA Xavier, r-h...@r-project.org

> On Feb 13, 2015, at 1:32 PM, CHIRIBOGA Xavier <xavier.c...@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

John Fox

unread,
Feb 13, 2015, 5:27:50 PM2/13/15
to CHIRIBOGA Xavier, r-h...@r-project.org
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/
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
Reply all
Reply to author
Forward
0 new messages