Learn R Programming

randomLCA (version 1.1-4)

logLik: log Likelikelihood for randomLCA object

Description

Returns log Likelihood for a randomLCA object.

Usage

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

Value

The loglikelihood.

Arguments

object

randomLCA object

...

additional argument; currently none is used.

Author

Ken Beath

Examples

Run this code
# \donttest{
pap.lca2 <- randomLCA(pap[, 1:10], freq = pap$Freq, nclass = 2, cores = 1)
print(logLik(pap.lca2))
# }

Run the code above in your browser using DataLab