Skip to contents

Get a vector representing the status of the variables (with their names) of a BN or BNDataset. Elements of the vector are c if the variable is continue, and d if the variable is discrete.

Usage

discreteness(x)

# S4 method for BN
discreteness(x)

# S4 method for BNDataset
discreteness(x)

Arguments

x

an object.

Value

vector contaning, for each variable of the desired object,

c if the variable is continue, and d if the variable is discrete.