[R] Very basic question regarding plot.Design...
Petar Milin
pmilin at ff.uns.ac.rs
Tue Sep 8 13:46:35 CEST 2009
Hello ALL!
I have a problem to plot factor (lets say gender) as a line, or at least
both line and point, from ols model:
ols1 <- ols(Y ~ gender, data=dat, x=T, y=T)
plot(ols1, gender=NA, xlab="gender", ylab="Y",
ylim=c(5,30), conf.int=FALSE)
If I convert gender into discrete numeric predictor, and use
forceLines=TRUE, plot is not nice and true, since it shows values
between 1 and 2.
Thanks!
PM
More information about the R-help
mailing list