Learn R Programming

bnstruct (version 1.0.6)

discreteness<-: set status (discrete or continuous) of the variables of an object.

Description

Set the list of variable status for the variables in a network or a dataset.

Usage

discreteness(x) <- value

# S4 method for BN discreteness(x) <- value

# S4 method for BNDataset discreteness(x) <- value

Arguments

x

an object.

value

a vector of elements in {c,d} for continuous and discrete variables (respectively).