plot.autoMrP: A plot method for autoMrP objects. Plots unit-level...

View source: R/utils.R

plot.autoMrPR Documentation

A plot method for autoMrP objects. Plots unit-level preference estiamtes.

Description

plot.autoMrP() plots unit-level preference estimates and error bars.

Usage

## S3 method for class 'autoMrP'
plot(x, algorithm = "ebma", ci.lvl = 0.95, ...)

Arguments

x

An autoMrP() object.

algorithm

The algorithm/classifier fo which preference estimates are desired. A character-valued scalar indicating either ebma or the classifier to be used. Allowed choices are: "ebma", "best_subset", "lasso", "pca", "gb", "svm", and "mrp". Default is ebma.

ci.lvl

The level of the confidence intervals. A proportion. Default is 0.95. Confidence intervals are based on bootstrapped estimates and will not be printed if bootstrapping was not carried out.

...

Additional arguments affecting the summary produced.

Value

Returns a ggplot2 object of the preference estimates for the selected classifier.


autoMrP documentation built on Aug. 17, 2023, 5:07 p.m.