conf_interval | R Documentation |
The summaries are always in the form of a data frame
conf_interval()
— displays coefficients and their confidence intervals
R2()
— R-squared of a model together with related measures such as F, adjusted R-squared,
the p-value, and degrees of freedom used in calculating the p-value.
regression_summary()
– A regression report in data-frame format.
anova_summary()
— An ANOVA report in data-frame format. If only one model
is passed as an argument, the data frame will have one line per model term. If multiple models
are given as arguments, the ANOVA report will show the increments from one model
to the next.
conf_interval(model, level = 0.95, show_p = FALSE)
R2(model)
regression_summary(model)
anova_summary(...)
model |
A model as produced by |
level |
Confidence level to use in |
show_p |
For |
... |
One or more models (for ANOVA) |
Many of these are wrappers around broom::tidy()
used to
emphasize to students that the results are a summary in the form of a regression
report, similar to the summaries produced by stats::confint()
, stats::coef()
, etc.
a data frame
Model <- CRDS |> model_train(FEV ~ age + smoker)
Model |> conf_interval()
Model |> R2()
Model |> anova_summary()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.