plot_class_distributions {CalibratR}R Documentation

plot_class_distributions

Description

plots the the returned conditional class probabilities P(x|C) of GUESS_1 or GUESS_2 models. Which GUESS model is plotted can be specified in pred_idx.

Usage

plot_class_distributions(build_guess_object, pred_idx)

Arguments

build_guess_object

output from build_GUESS()

pred_idx

if pred_idx=1 GUESS_1 is plotted; if pred_idx=2 GUESS_2 is plotted

Value

ggplot object that visualizes the returned calibrated predicition estimates by GUESS_1 or GUESS_2

See Also

melt ggplot,geom_line,aes,scale_colour_manual,theme,labs,geom_vline,geom_text


[Package CalibratR version 0.1.2 Index]