boot | R Documentation |
Given a BNDataset
, return the sample corresponding to given index.
boot(dataset, index, use.imputed.data = FALSE)
## S4 method for signature 'BNDataset,numeric'
boot(dataset, index, use.imputed.data = FALSE)
dataset |
a |
index |
the index of the requested sample. |
use.imputed.data |
|
bootstrap
bootstrap
## Not run:
dataset <- BNDataset("file.data", "file.header")
dataset <- bootstrap(dataset, num.boots = 1000)
for (i in 1:num.boots(dataset))
print(boot(dataset, i))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.