Learn R Programming

bnstruct (version 1.0.6)

variables: get variables of an object.

Description

Get the list of variables (with their names) of a BN or BNDataset.

Usage

variables(x)

# S4 method for BN variables(x)

# S4 method for BNDataset variables(x)

Arguments

x

an object.

Value

vector of the variables names of the desired object.