logLik.dbn.fit: Calculate the log-likelihood of a dynamic Bayesian network

View source: R/bnlearn_compat.R

logLik.dbn.fitR Documentation

Calculate the log-likelihood of a dynamic Bayesian network

Description

Generic method for calculating the log-likelihood of a "dbn.fit" S3 object given some data. Calls bnlearn's logLik underneath.

Usage

## S3 method for class 'dbn.fit'
logLik(object, dt, ...)

Arguments

object

the fitted network

dt

the dataset to calculate the score of the network

...

additional parameters for the network scoring

Value

the log-likelihood score of the network


dbnR documentation built on Oct. 5, 2022, 1:07 a.m.