Title Creates a shiny server
createCVServer(
CVfit,
CVdata = NULL,
response = NULL,
sectionvars,
conditionvars,
predsInit = NULL,
pointColor = NULL,
cPlotPCP = FALSE,
cPlotn = 1000,
orderConditionVars,
threshold = 1,
thresholdmax,
tours = NULL,
linecols = NULL,
dataplot = "pcp",
probs,
view3d,
theta3d,
phi3d,
predictArgs,
xlim = NULL,
ylim = NULL,
zlim = NULL,
density = FALSE,
showdata = TRUE
)
a function
a list of fits
the dataset used for the fit
name of response variable
names of at most two sectionvars
names of conditionvars
starting value for predicts. Defaults to medoid.
a color, or the name of variable to be used for coloring. If the named variable is numeric, it is first converted to a factor with 3 levels.
if TRUE, conditionplots are drawn as a single PCP (for more than two conditionvars)
Shows a sample of this number of points in conditionplots.
If supplied, a function to order the Condition Vars
used for similarity weights, defaults to 1.
maximum value allowed of threshold.
A list of pre-calculated tours
vector of colors to be used for fits
"pcp" or "pairs". Used when there is no response, or more than two sectionvars.
Logical; if TRUE
, shows predicted class probabilities instead of just predicted classes.
Logical; if TRUE
, includes option for a three-dimensional regression surface if possible.
Angles defining the viewing direction. theta3d
gives the azimuthal direction and phi3d
the colatitude. See persp
.
a list with one entry per fit, giving arguments for CVpredict
passed on to sectionplot
passed on to sectionplot
passed on to sectionplot
default FALSE. Use TRUE if model is a density function.
If FALSE, data on section not shown.