[R] Data scaled by lattice::stripplot
meonline
meonline at hotmail.com
Fri Jun 29 06:06:30 CEST 2012
For the following example,
> library(lattice)
> df<-data.frame(i=1:100,p=runif(100),id=rep(c('a','b'),100))
> summary(df[,'p'])
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.01165 0.33580 0.57520 0.53290 0.74540 0.98610
> stripplot(p~i|id,df)
The plot that is output is as expected with the exception that the values
are scaled by a factor of 100 in the plot (and the yaxis has too many
labels) -- see attached screenshot.
I'm running R.2.10 under Ubuntu 10.04.
Why does this happen and how do I get the stripplot to plot the values as
they are in the data (from 0 to 1)?
--
View this message in context: http://r.789695.n4.nabble.com/Data-scaled-by-lattice-stripplot-tp4634809.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list