Hello! I am using probplot in the e1071 package and want to do something like the following, only with the the 2nd plot overlaying the first. I can't seem to make it work. Any suggestions? *library(e1071) **x <- rnorm(100, mean=5)* *y <- rnorm(100, mean=3)* *probplot(x, line=FALSE) * *probplot(y, line=FALSE) * *Regards,* *Tom*
question about probplot in e1071 package
3 messages · Thomas Adams, Luisfo
Dear Thomas, Reading the probplot?s help page, it looks like it is using qqplot underneath. Thus, I think this is what you need. probplot(x, line=FALSE) #probplot(y, line=FALSE) qq.y <- qqnorm(y, plot=F) points(qq.y$y, qq.y$x) I hope this is useful for you. Best Regards, Luisfo Chiroque PhD Student IMDEA Networks Institute http://fourier.networks.imdea.org/people/~luis_nunez/ <http://fourier.networks.imdea.org/people/~luis_nunez/>
El 4 abr 2016, a las 18:19, Thomas Adams <tea3rd at gmail.com> escribi?: Hello! I am using probplot in the e1071 package and want to do something like the following, only with the the 2nd plot overlaying the first. I can't seem to make it work. Any suggestions? *library(e1071) **x <- rnorm(100, mean=5)* *y <- rnorm(100, mean=3)* *probplot(x, line=FALSE) * *probplot(y, line=FALSE) * *Regards,* *Tom* [[alternative HTML version deleted]]
______________________________________________ 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.
Luisfo, Thank you so much! That does what I need. Best regards, Tom
On Mon, Apr 4, 2016 at 10:51 AM, Luisfo Chiroque <luisfo89 at yahoo.es> wrote:
Dear Thomas, Reading the probplot?s help page, it looks like it is using qqplot underneath. Thus, I think this is what you need. probplot(x, line=FALSE) #probplot(y, line=FALSE) qq.y <- qqnorm(y, plot=F) points(qq.y$y, qq.y$x) I hope this is useful for you. Best Regards, Luisfo Chiroque PhD Student IMDEA Networks Institute http://fourier.networks.imdea.org/people/~luis_nunez/ El 4 abr 2016, a las 18:19, Thomas Adams <tea3rd at gmail.com> escribi?: Hello! I am using probplot in the e1071 package and want to do something like the following, only with the the 2nd plot overlaying the first. I can't seem to make it work. Any suggestions? *library(e1071) **x <- rnorm(100, mean=5)* *y <- rnorm(100, mean=3)* *probplot(x, line=FALSE) * *probplot(y, line=FALSE) * *Regards,* *Tom* [[alternative HTML version deleted]]
______________________________________________ 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.