Simulate parameters from a dwpm
model object
rdwp(n, model)
the number of simulation draws
A dwpm
object (which is returned from
dwpm()
)
array of n
simulated dwp
values for each unit.
Dimensions = c(n, number of units).
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).