This is what the addpanel argument to plot.Predict is for, something along
the lines of
ap <- function(...) lpoints(age, weight)
plot(Predict(. . .), addpanel=ap)
Frank
David Winsemius wrote
>
> On Jun 26, 2012, at 11:29 AM, Sarah Goslee wrote:
>
>> You could use points() instead of plot() fo
On Jun 26, 2012, at 11:29 AM, Sarah Goslee wrote:
You could use points() instead of plot() for the second command.
Ummm. Maybe not. I think think that plot.Predict uses lattice
graphics. You may need to use trellis.focus() followed by lpoints().
Or use the "+" operation with suitable obj
You could use points() instead of plot() for the second command.
Sarah
On Tue, Jun 26, 2012 at 8:37 AM, achaumont wrote:
> Hello,
>
> I have a question about the “plot.predict” function in Frank Harrell's rms
> package.
> Do you know how to superpose in the same graph the prediction curve of ols
Hello,
I have a question about the “plot.predict” function in Frank Harrell's rms
package.
Do you know how to superpose in the same graph the prediction curve of ols
and raw data points?
Put most simply, I would like to combine these two graphs:
> fit_linear <- ols (y4 ~ rcs(x2,c(5,10,15,20,60,
4 matches
Mail list logo