plot.cjbart: Plot Marginal Component Effects of a 'cjbart' Object

Description Usage Arguments Value

View source: R/generics.R

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

1
2
## 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 names 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.


cjbart documentation built on May 25, 2021, 5:10 p.m.