View source: R/dwp_functions.R
rdwp | R Documentation |
Simulate parameters from a dwpm
model object
rdwp(n, model)
n |
the number of simulation draws |
model |
A |
If the model type = data
, then the number of simulated columns
must be either >=n
(in which case the first n colunms are taken as the
simulated DWP) or 1 (in which case, DWP is assumed constant).
array of n
simulated dwp
values for each unit.
Dimensions = c(n, number of units).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.