sample.row: sample a row vector of values for a network.

Description Usage Arguments Value

Description

sample a row vector of values for a network.

Usage

1
2
3
4
sample.row(x, mar = 0)

## S4 method for signature 'BN'
sample.row(x, mar = 0)

Arguments

x

a BN or InferenceEngine object.

mar

fraction [0,1] of missing values in the sampled vector (missing at random), default value is 0 (no missing values).

Value

a vector of values.


tavazzie/bnstructScore documentation built on Dec. 23, 2021, 7:47 a.m.