Learn R Programming

EMbC (version 2.0.4)

lkhp: Likelihood profile plots

Description

lkhp likelihood optimization plot.

Usage

lkhp(obj, offSet = 1)

# S4 method for binClst lkhp(obj, offSet = 1)

# S4 method for list lkhp(obj, offSet = 1)

Arguments

obj

A BinClst_instance or a list of them.

offSet

A numeric value indicating an offset to avoid the initial iterations. This is useful to see the likelihood evolution in the last iterations where the changes in likelihood are of different order of magnitude than those at the starting iterations.

Examples

Run this code
# -- apply EMbC to the example path --
mybcp <- stbc(expth)
# -- inspect the likelihood evolution --
lkhp(mybcp)
# -- avoid the initial values --
lkhp(mybcp,10)

Run the code above in your browser using DataLab