bn.list: Constructor function for a 'bn list'.

Description Usage Arguments Value See Also Examples

View source: R/class.R

Description

Constructs bn.list objects

Usage

1

Arguments

...

A series of objects of class 'bn'.

Value

An object of class 'bn.list'

See Also

[.bn.list, c.bn.list

Examples

1
2
3
4
5
6
p1 <- bn(c(), c(1), c(1, 2, 4), c())
p2 <- bn(c(2), c(), c(1), c())
x <- bn.list(p1, p2)
x[1]
x[[1]]
x[2]

rjbgoudie/parental documentation built on May 27, 2019, 9:11 a.m.