plot.cjbart {cjbart}R Documentation

Plot Marginal Component Effects of a cjbart Object

Description

Plots observation-level or individual-level marginal component effects (OMCE and IMCE respectively). By default, all attribute-levels in the model are plotted.

Usage

## S3 method for class 'cjbart'
plot(x, covar = NULL, plot_levels = NULL, se = TRUE, ...)

Arguments

x

Object of class cjbart, the result of running IMCE()

covar

Character string detailing the covariate over which to analyze heterogeneous effects

plot_levels

Optional vector of conjoint attribute levels to plot. If not supplied, all attributes within the conjoint model will be plotted.

se

Boolean determining whether to show an estimated 95% confidence interval

...

Additional arguments for plotting the marginal component effects (see below).

Value

Plot of marginal component effects.


[Package cjbart version 0.3.2 Index]