Description Usage Arguments Value See Also Examples
Draw a random sample from a causal independence Bayesian network
1 | sample.cibn(x, nsam, seed=NULL)
|
x |
An object of class |
nsam |
The number of sample units. |
seed |
The seed for the random number generator. If |
An object of class data.frame
.
new.cibn; query.cibn.
1 2 3 4 5 6 | data(bankrisk_code)
bankrisk_bn <- new.cibn(bankrisk_code)
#
bankrisk_sam <- sample.cibn(bankrisk_bn, nsam=100)
head(bankrisk_sam)
summary(bankrisk_sam)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.