View source: R/predict_adjust-print.R
print.predict_adjust | R Documentation |
predict_adjust
objectPrint an object of class predict_adjust
produced
by the predict_adjust
function.
## S3 method for class 'predict_adjust'
print(x, ...)
x |
An |
... |
Additional arguments to the
|
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 above
se.fit
: standard error of predicted means
residual.scale
: residual standard deviations
df
: degrees of freedom for residual
Joshua French
fit <- lm(100/mpg ~ disp + hp + wt + am, data = mtcars)
(cia <- predict_adjust(fit))
print(cia, digits = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.