Re: [R] rms plot.Predict when type=p

2013-08-03 Thread Mike Babyak
As always, Frank, thanks for the help. Much appreciated. Mike Babyak Department of Psychiatry and Behavioral Sciences Duke University Medical Center R version 3.01 Windows 7 __ R-help@r-project.org mailing list

Re: [R] rms plot.Predict when type=p

2013-08-02 Thread Frank Harrell
Mike, 2 out of 3 of your requests are handled simply. I've tidied up your code and show how to include extra parameters into the plot( ) call below. The request to change plotting symbol color for each factor level is not consistent with the lattice philosophy for non-superposed variables

[R] rms plot.Predict when type=p

2013-08-01 Thread Mike Babyak
Hi all, I'm trying to change the pch, color, lty, and lwd in a type=p plot produced by plot.Predict in the rms package. What I'm shooting for is a separate plotting symbol symbol color for each level of a factor (and also to manage the line width for the CIs). Here's what I hope is a working