exploreReg {ERSA} | R Documentation |
A function to launch the Exploratory Regression Shiny App
Description
A function to launch the Exploratory Regression Shiny App
Usage
exploreReg(
ERmfull,
ERdata = NULL,
ERbarcols = RColorBrewer::brewer.pal(4, "Set2"),
npcpCols = 4,
pvalOrder = F,
tablesOnly = F,
displayHeight = NULL,
gadget = TRUE,
viewer = "dialogViewer"
)
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 |
tablesOnly |
if TRUE, shows Plots 1-3 only. |
displayHeight |
supply a value for the display height |
gadget |
If TRUE, constructs a gadget, otherwise a shinyApp. |
viewer |
For gadget, defaults to "dialogViewer". May be "paneViewer" or "browserViewer" |
Value
the result
Examples
f <- lm(mpg ~ hp+wt+disp, data=mtcars)
## Not run: exploreReg(f)
[Package ERSA version 0.1.4 Index]