[R] question about probplot in e1071 package

Luisfo Chiroque luisfo89 at yahoo.es
Mon Apr 4 17:51:51 CEST 2016


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.


	[[alternative HTML version deleted]]



More information about the R-help mailing list