with_params | R Documentation |
This is a helper function to set the parameter values
with_params(..., .censor = NA, .aggregate = NULL)
... |
A series of name-value pair that are inputs used for the simulation process. |
.censor |
The value to censor if it outside the valid values. If the
value has a lower and upper bound then it should be a vector of size 2. Use
-Inf or Inf if you don't want to censor either value. You can use a list if
you want a different censoring for different records where the name corresponds to
the name of the record. If you want to apply a default value/function for censoring
then use the name ".default". You can use a function instead of a value. The function
may be specified by as a lambda function. The object |
.aggregate |
The function for aggregation if the response values differ
within the same unit level for the record. Use |
simulate_rcrds()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.