exploreReg: A function to launch the Exploratory Regression Shiny App

Description Usage Arguments Value Examples

View source: R/helper.R

Description

A function to launch the Exploratory Regression Shiny App

Usage

1
2
exploreReg(ERmfull, ERdata = NULL, ERbarcols = RColorBrewer::brewer.pal(4,
  "Set2"), npcpCols = 4, pvalOrder = F)

Arguments

ERmfull

the lm fit to be explored

ERdata

the data used to fit the model. If NULL, attempts to extract from ERmfull.

ERbarcols

a vector of colours, one per term in lm. Will be expanded via colorRampPalette if not the correct length.

npcpCols

number of colours for the PCP

pvalOrder

if TRUE, re-arranges predictors in order of p-value

Value

the shiny server

Examples

1
2
f <- lm(mpg ~ hp+wt+disp, data=mtcars)
## Not run: exploreReg(f)

cbhurley/ERSA documentation built on July 30, 2018, 12:04 p.m.