| autoplot.confint_adjust {api2lm} | R Documentation |
Plot confint_adjust object
Description
Plot a confint_adjust object produced by the
confint_adjust function. The plotting
function internally calls the
autoplot function. Note: the
ggplot2 package must be loaded (i.e.,
library(ggplot2) or ggplot2::autoplot
must be specifically called for this function to work.
See Examples.
Usage
autoplot.confint_adjust(object, parm, ...)
Arguments
object |
An |
parm |
a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered. |
... |
Not used |
Value
None.
Author(s)
Joshua French
Examples
fit <- lm(100/mpg ~ disp + hp + wt + am, data = mtcars)
# standard intervals
cia <- confint_adjust(fit)
# if ggplot2 package is available
if (require(ggplot2)) {
autoplot(cia)
# select subset of plots
autoplot(cia, parm = c("hp", "disp"))
}
[Package api2lm version 0.2 Index]