condvis2 (version 0.1.1)

createCVUI: Constructs UI for Condvis

Description

Constructs UI for Condvis

Usage

createCVUI(
  CVfit,
  data,
  response,
  sectionvars,
  preds = NULL,
  pointColor,
  threshold = 1,
  thresholdmax,
  tours,
  probs,
  view3d,
  showsim,
  cPlotPCP
)

Value

a dataframe of conditions

Arguments

CVfit

a list of fits

data

a dataset

response

name of response variable

sectionvars

names of sectionvars

preds

names of predictors

pointColor

a color, or the name of variable to be used for coloring

threshold

used for similarity weights, defaults to 1.

thresholdmax

maximum value allowed of threshold.

tours

A list of pre-calculated tours

probs

Logical; if TRUE, shows predicted class probabilities instead of just predicted classes.

view3d

Logical; if TRUE, includes option for a three-dimensional regression surface if possible.

showsim

if TRUE, shows sim in conditionplots with points/lines. Defaults to TRUE with 150 or fewer cases.

cPlotPCP

if TRUE, conditionplots are drawn as a single PCP (for more than two conditionvars)