Learn R Programming

ordinalCont (version 0.4)

logLik.ocmm: Extract Log-likelihood for a Continuous Ordinal Mixed Model

Description

Extracts the log-likelihood for a fitted ocmm object

Usage

"logLik"(object, ...)

Arguments

object
an ocmm object
...
further arguments to be passed to methods

Value

The log-likelihood of an ocmm object. This is a number with attributes
df
estimated degrees of freedom for the fitted model object
nobs
number of observations used in the fitted model object
class
class of the returned object: logLik.ocmm

See Also

ocmm

Examples

Run this code
## Not run: 
# fit.overall.rnd  <- ocmm(overall  ~ cycleno + age + bsa + treatment + (1|randno), data=ANZ0001)
# logLik(fit.overall.rnd)
# ## End(Not run)

Run the code above in your browser using DataLab