rpick | R Documentation |
Random picking of values from fitted distribution.
rpick(N, data, model)
N |
Number of iteration |
data |
data |
model |
fitted model |
This function picks a value randomly from a fitted distribution.
Shoji F. Nakayama
## Not run:
for (i in 1:nrow(df)) {
df$column[i] <- rpick(N, df$column[i], model)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.