Description Usage Arguments Value Examples
View source: R/regression_diagnostics.R
Show the estimated coefficients in a regression and diagnostics
1 | regression_diagnostics(regression, ...)
|
regression |
an lm object |
... |
passed to |
Returns markdown/HTML text with class "knit_asis"
1 2 3 4 5 6 7 8 9 | ## Not run:
# will generate files in a temporary directory
if(!requireNamespace("pkgdown", quietly = TRUE) || !pkgdown::in_pkgdown()) {
data("ChickWeight")
regression <- lm(weight ~ Time, data = ChickWeight)
regression_diagnostics(regression)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.