Learn R Programming

cwm (version 0.0.3)

logLik.cwrObj: Generic log - likelihood method for cwrObjects

Description

This function extracts the logLikelihood.

Usage

"logLik"(object, ...)

Arguments

object
A cwrObj
...
Additional data (not yet implemented)

Value

Details

In the future this function will perform log-likelihood calculation directly.

References

Murphy

See Also

cwrEm

Examples

Run this code
## Not run: 
# library(MASS)
# data(geyser, package="MASS")
# x=geyser[,1]
# y=geyser[,2]                            
# ciao=stepCwr(x,y,nc=2)
# logLik(ciao)## End(Not run)

Run the code above in your browser using DataLab