variables-set: set variables of an object.

Description Usage Arguments

Description

Set the list of variable names in a BN or BNDataset object.

Usage

1
2
3
4
5
6
7
variables(x) <- value

## S4 replacement method for signature 'BN'
variables(x) <- value

## S4 replacement method for signature 'BNDataset'
variables(x) <- value

Arguments

x

an object.

value

vector containing the variable names of the object. Overwrites num.nodes slot if non-matching.


tavazzie/bnstructScore documentation built on Dec. 23, 2021, 7:47 a.m.