createERServer: A function which returns a shiny server for Exploratory...

Description Usage Arguments Value

View source: R/createServer.R

Description

A function which returns a shiny server for Exploratory Regression

Usage

1
2
createERServer(ERfit, ERdata = NULL, ERbarcols = RColorBrewer::brewer.pal(4,
  "Set2"), ERnpcpCols = 4, pvalOrder = F)

Arguments

ERfit

the lm fit to be explored

ERdata

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

ERbarcols

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

ERnpcpCols

number of colours for the PCP

pvalOrder

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

Value

a function


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