print.predict_adjust {api2lm} | R Documentation |
Print predict_adjust
object
Description
Print an object of class predict_adjust
produced
by the predict_adjust
function.
Usage
## S3 method for class 'predict_adjust'
print(x, ...)
Arguments
x |
An |
... |
Additional arguments to the
|
Value
Depending on the interval
argument of
predict_adjust
:
A vector of predictions if interval = "none"
.
A matrix of predictions and bounds with column names
fit
, lwr
, and upr
if
interval
is set. For type = "terms"
this
is a matrix with a column per term and may have an
attribute "constant"
.
If se.fit
is TRUE
, a
list with the following components is returned:
fit
: vector or matrix as abovese.fit
: standard error of predicted meansresidual.scale
: residual standard deviationsdf
: degrees of freedom for residual
Author(s)
Joshua French
Examples
fit <- lm(100/mpg ~ disp + hp + wt + am, data = mtcars)
(cia <- predict_adjust(fit))
print(cia, digits = 3)
[Package api2lm version 0.2 Index]