Learn R Programming

EMbC (version 2.0.4)

lblp: labeling profile plot

Description

lblp plots the labeling profile of a binClst_instance.

Usage

lblp(obj, ref, ...)

# S4 method for binClst,missing lblp(obj, ref, lims = NULL, ...)

# S4 method for binClstStck,missing lblp(obj, ref, lims = NULL, ...)

# S4 method for binClst,numeric lblp(obj, ref, lims = NULL, ...)

# S4 method for binClst,binClst lblp(obj, ref, lims = NULL, ...)

Arguments

obj

A binClst_instance.

ref

A numeric vector with an expert's labeling profile.

A second binClst_instance to be compared with the first.

...

Parameters ref and lims are optional.

lims

A numeric vector with lower and upper bounds to limit the plot.

Examples

Run this code
# -- apply EMbC to the example path --
mybcp <- stbc(expth)
# -- plot the labeling profile comparing with expert labeling --
lblp(mybcp,expth$lbl)
# -- compare original and smoothed labeling profiles --
lblp(mybcp,smth(mybcp))

Run the code above in your browser using DataLab