Last chance! 50% off unlimited learning
Sale ends in
Tidiers for biglm object from the "biglm" package, which contains a linear model
object that is limited in memory usage. Generally the behavior is as similar
to the lm_tidiers
as is possible. Currently no augment
is defined.
# S3 method for biglm
tidy(x, conf.int = FALSE, conf.level = 0.95,
exponentiate = FALSE, quick = FALSE, ...)# S3 method for biglm
glance(x, ...)
a "biglm" object
whether to include a confidence interval
confidence level of the interval, used only if
conf.int=TRUE
whether to exponentiate the coefficient estimates and confidence intervals (typical for logistic regression)
whether to compute a smaller and faster version, containing
only the term
and estimate
columns.
extra arguments (not used)
All tidying methods return a data.frame without rownames, whose structure depends on the method chosen.
tidy.biglm
returns one row for each coefficient, with columns
The term in the linear model being estimated and tested
The estimated coefficient
The standard error from the linear model
two-sided p-value
If conf.int=TRUE, it also includes columns for conf.low and conf.high, computed with confint.
glance.biglm returns a one-row data frame, with columns
The percent of variance explained by the model
the Akaike Information Criterion
deviance
residual degrees of freedom
# NOT RUN {
if (require("biglm", quietly = TRUE)) {
bfit <- biglm(mpg ~ wt + disp, mtcars)
tidy(bfit)
tidy(bfit, conf.int = TRUE)
tidy(bfit, conf.int = TRUE, conf.level = .9)
glance(bfit)
}
# }
Run the code above in your browser using DataLab