discreteness: get status (discrete or continuous) of the variables of an...

discretenessR Documentation

get status (discrete or continuous) of the variables of an object.

Description

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 signature 'BN'
discreteness(x)

## S4 method for signature '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.


bnstruct documentation built on Dec. 1, 2022, 1:22 a.m.