createERServer | R Documentation |
A function which returns a shiny server for Exploratory Regression
createERServer(
ERfit,
ERdata = NULL,
ERbarcols = RColorBrewer::brewer.pal(4, "Set2"),
ERnpcpCols = 4,
pvalOrder = F
)
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 |
a function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.