knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
An R package which provides summary information and plots which have been altered from those provided by base R.
It now handles glm
object, as well as svyglm
objects from the survey
package.
You can install the released version of iNZightRegression from CRAN with:
# Not yet on CRAN - please use devtools below # install.packages("iNZightRegression")
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("iNZightVIT/iNZightRegression")
Plots and summaries of model objects:
library(iNZightRegression) iris.lm <- lm(Sepal.Width ~ Sepal.Length, data = iris) set.seed(246) # for bootstrap smoothers inzplot(iris.lm, which = "residual") inzplot(iris.lm, which = "scale") inzplot(iris.lm, which = "leverage") inzsummary(iris.lm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.