Learn R Programming

stagedtrees (version 2.1.0)

logLik.sevt: Log-Likelihood of a staged event tree

Description

Compute, or extract the log-likelihood of a staged event tree.

Usage

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

Arguments

object

an fitted object of class sevt.

...

additional parameters (compatibility).

Value

An object of class logLik.

Examples

Run this code
# NOT RUN {
data("PhDArticles")
mod <- indep(PhDArticles)
logLik(mod)
# }

Run the code above in your browser using DataLab