R/simulate_cergm.R

Defines functions simulate.cERGM

Documented in simulate.cERGM

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)
}
schmid86/cERGM documentation built on Sept. 10, 2021, 6:20 p.m.