Description Usage Arguments Value
sample a BNDataset
from a network of an inference engine.
1 2 3 4 5 6 7 | sample.dataset(x, n = 100, mar = 0)
## S4 method for signature 'BN'
sample.dataset(x, n = 100, mar = 0)
## S4 method for signature 'InferenceEngine'
sample.dataset(x, n = 100)
|
x |
a |
n |
number of items to sample. |
mar |
fraction [0,1] of missing values in the sampled dataset (missing at random), default value is 0 (no missing values). |
a BNDataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.