print.ols | R Documentation |
Formatted printing of an object of class ols
using methods taken
from print.lm
and summary.lm
. Prints R-squared, adjusted
R-squared, parameter estimates, standard errors, and t-statistics (Z
statistics if penalized estimation was used). For penalized estimation,
prints the maximum penalized likelihood estimate of the residual
standard deviation (Sigma
) instead of the usual root mean squared
error.
Format of output is controlled by the user previously running
options(prType="lang")
where lang
is "plain"
(the default),
"latex"
, or "html"
. When using html with Quarto or RMarkdown,
results='asis'
need not be written in the chunk header.
## S3 method for class 'ols'
print(x, digits=4, long=FALSE, coefs=TRUE,
title="Linear Regression Model", ...)
x |
fit object |
digits |
number of significant digits to print |
long |
set to |
coefs |
specify |
title |
a character string title to be passed to |
... |
other parameters to pass to |
ols
, lm
,prModFit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.