knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

iNZightRegression

R-CMD-check Coverage status License: GPL v3 CRAN

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.

Installation

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")

Example

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)


iNZightVIT/iNZightRegression documentation built on April 8, 2024, 10:25 a.m.