quadline | R Documentation |
Overlays a quadratic curve to a fitted quadratic model.
quadline(lm.obj, ...)
lm.obj |
A |
... |
Other arguments to the |
The function superimposes a quadratic curve onto an existing scatterplot.
W.J. Braun
lm
data(p4.18)
attach(p4.18)
y.lm <- lm(y ~ x1 + I(x1^2))
plot(x1, y)
quadline(y.lm)
detach(p4.18)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.