Re: [R] question on jitter in plot.Predict in rms

2012-05-01 Thread Frank Harrell
Mike, Try plot(pref, ..., scat1d.opts=list(frac=0.025, lwd=0.3, nhistSpike=i)) where i = 1 to always use spike histograms (default is to use them if n = 2000) or i=1e7 to never use them and to always jitter instead. There are many other scat1d options you can pass through scat1d.opts. Frank

[R] question on jitter in plot.Predict in rms

2012-04-30 Thread Mike Babyak
Dear colleagues, I have a question regarding controlling the jitter when plotting predictions in the rms package. Below I've simulated some data that reflect what I'm working with. The model predicts a continuous variable with an ordinal score, a two-level group, and a continuous covariate. Of