The new version of rms is now on CRAN (for Mac and Windows probably
tomorrow). You can now do p <- Predict(...); plot(p, ~ x2, nlines=TRUE,
type='p') to get what you want.
Frank
stephsus wrote
> Hi Frank,
>
> Thanks for your reply! Using p <- Predict(f, x2); plot(p, ~x2,
> nlines=TRUE)
> makes
Stephanie,
I just realized this is already implemented. For your problem use p <-
Predict(f,x2); plot(p, ~ x2, nlines=TRUE)
Frank
Frank Harrell wrote
> Stephanie,
>
> I'm working on an option for the plot method for Predict that will allow
> you to do this. Note that this approach will not re
Stephanie,
I'm working on an option for the plot method for Predict that will allow you
to do this. Note that this approach will not result in very readable
predictor category labels when they are long character strings. If you are
using linux I can get you a new version of rms with this option
Hello all,
I'm trying to plot the effects of variables estimated by a regression model
fit individually, and for categorical predictors, the independent variable
shows up on the y-axis, with the dependent variable on the x-axis. Is there
a way to prevent this reversal?
Sample code with dummy data
4 matches
Mail list logo