Description Usage Arguments Value
The function can be used to simulate from an estimated model or from a given parameter value. In the latter case, the model settings are included in a fitted model object.
1 2 | simulate_p2(objfit, nsim = 100, conditional = FALSE, theta = NULL,
Sigma = NULL)
|
objfit |
An object produced by a call to |
nsim |
Number of simulated networks. |
conditional |
Should the random effects be set at the estimated values, or else simulated from the normal distribution? Default is FALSE. |
theta |
Parameter value to be used for the simulation. In case it is |
Sigma |
Variance matrix of random effects to be used for the simulation. In case
it is |
Either a single network (when nsim
=1) or a list of nsim
networks. See network
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.