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

Description Usage Arguments Value

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

1
2
3
4
5
6
7
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 July 2, 2020, 2:26 a.m.