params | R Documentation |
Descriptions of the parameters for the sims functions.
path |
A string of the path to the directory with the simulated data. |
path_from |
A string of the path to the directory containing the simulated datasets. |
path_to |
A string of the path to the directory to copy the simulated dataset to. |
code |
A string of the JAGS or R code to generate the data. The JAGS code must not be in a data or model block. |
constants |
An nlist object (or list that can be coerced to nlist) specifying the values of nodes in code. The values are included in the output dataset. |
parameters |
An nlist object (or list that can be coerced to nlist) specifying the values of nodes in code. The values are not included in the output dataset. |
monitor |
A character vector (or regular expression if a string) specifying the names of the nodes in code to include in the dataset. By default all nodes are included. |
stochastic |
A logical scalar specifying whether to monitor deterministic and stochastic (NA), only deterministic (FALSE) or only stochastic nodes (TRUE). |
latent |
A logical scalar specifying whether to monitor observed and latent (NA), only latent (TRUE) or only observed nodes (FALSE). |
nsims |
A whole number between 1 and 1,000,000 specifying the number of data sets to simulate. By default 1 data set is simulated. |
save |
A flag specifying whether to return the data sets as
an |
exists |
A flag specifying whether the |
rdists |
A character vector specifying the R functions to recognize as stochastic. |
ask |
A flag specifying whether to ask before deleting sims compatible files. |
silent |
A flag specifying whether to suppress warnings. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.