Learn R Programming

switchSelection (version 2.0.0)

logLik.msel: Extract Log-Likelihood from a Fit of the msel Function.

Description

Extract Log-Likelihood from a model fit of the msel function.

Usage

# S3 method for msel
logLik(object, ...)

Value

Returns an object of class 'logLik'.

Arguments

object

object of class "msel"

...

further arguments (currently ignored)

Details

If estimator == "2step" in msel then function may return NA value since two-step estimator of covariance matrix may be not positively defined.