Learn R Programming

rankdist (version 0.3.1)

RankControl-class: RankControl Class

Description

A S4 class to store control parameters for model fitting

Arguments

Details

The control parameters that start with prefix EM_ are intended for the EM iteration. The ones with prefix SeachPi0 control the behaviour of searching model ranking. The function object specified in the SearchPi0_control takes a list as argument. The components in the list include the following. obs: the number of observations. w.est: the estimated weights. log_likelihood: the estimated log_likelihood. With this information, most of the popular information criterions can be supported and customized criterions can also be defined. A larger returned value indicates a better fit.

See Also

RankData, RankInit

Examples

Run this code
# enabling messages and warnings
testctrl = new("RankControl",SearchPi0_show_message=TRUE, optimx_control=list(dowarn=TRUE))

Run the code above in your browser using DataLab