simulate.cERGM <- function(object, nsim=1, seed=NULL, ...){
sim.net <- simulate(object$ergm , nsim=nsim, seed=seed,
constraints=~fixallbut(object$not.fixed))
return(sim.net)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.