Description Usage Arguments Value
Draw a sample from a population model.
1 2 3 |
object |
an EDP population model, from |
nsim |
number of rows to simulate |
seed |
if set, an integer to pass to EDP as a random seed for this call |
... |
ignored, accepted for compatibility with |
target |
a character vector of column names, defaults to
|
columns |
alias for |
given |
a single-row data frame of values to condition on;
|
by_model |
If false (the default), draws a sample of size |
A data frame with the columns specified in target
. If by_model
is true, the result contains an additional column, "model," specifying which
sub-model that row came from.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.