Learn R Programming

dbnR (version 0.7.8)

AIC.dbn: Calculate the AIC of a dynamic Bayesian network

Description

Generic method for calculating the Akaike information criterion (AIC) of a "dbn" S3 object given some data. Calls bnlearn's AIC underneath.

Usage

# S3 method for dbn
AIC(object, ..., k)

Value

the AIC score of the network

Arguments

object

the structure of the network

...

additional parameters for the network scoring

k

the penalty parameter