Learn R Programming

bnstruct (version 1.0.6)

num.variables<-: set number of variables of a BNDataset.

Description

Set the number of variables observed in a dataset.

Usage

num.variables(x) <- value

# S4 method for BNDataset num.variables(x) <- value

Arguments

x

a BNDataset object.

value

number of variables of the dataset.