addOneFit | R Documentation |
Add a single fitted model plot to an existing plot made with base graphics
addOneFit(
fm,
pch = 1,
col = 2,
col.pch = col,
lty.fit = 1,
col.fit = col,
lty.ref = 2,
col.ref = "gray",
...
)
fm |
single fitted model from |
pch , col , col.pch |
plot character and color for data points and the
default color for the fitted line. Set |
lty.fit , col.fit |
line type and color for the GLM best-fit line. Set
|
lty.ref , col.ref |
line type and color for the value on the x-axis
that intersect the 63
|
... |
Additional arguments passed to |
Base graphics are used to add a plot to an existing plot produced by
plotFit
. The first argument is
a single fitted model from getFit
. The function calls
getEC63
to obtain the fit and confidence intervals.
No value is returned. This function is called for the side-effect of
adding to an existing plot with points
and lines
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.