orcutt_tidiers {broom} | R Documentation |
Tidies a Cochrane Orcutt object, which estimates autocorrelation
and beta coefficients.
This function is not exported and would not typically be called
directly: it is dispatched by tidy.list
and
glance.list
.
tidy_orcutt(x, ...) glance_orcutt(x, ...)
x |
A list returned by |
... |
Extra arguments passed on to |
All tidying methods return a data.frame without rownames, whose structure depends on the method chosen.
tidy
returns the same information as
tidy.lm
, though without confidence interval options.
glance
returns the same one-row data frame as
glance.summary.lm
, along with columns rho
and number.interaction
.
reg <- lm(mpg ~ wt + qsec + disp, mtcars) tidy(reg) if (require("orcutt", quietly = TRUE)) { co <- cochrane.orcutt(reg) co tidy(co) glance(co) }