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.



bnstruct documentation built on May 19, 2017, 10:17 p.m.
Search within the bnstruct package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.