Learn R Programming

dbnR (version 0.7.8)

degree.dbn.fit: Calculates the degree of a list of nodes

Description

#' Generic method for calculating the degree of a list of nodes in a "dbn.fit" S3 object. Calls bnlearn's degree underneath.

Usage

# S3 method for dbn.fit
degree(object, Nodes, ...)

Value

the degree of the nodes

Arguments

object

a "dbn" object

Nodes

which nodes to check

...

additional parameters