ergm.Cprepare function builds an object called Clist that contains all the necessary ingredients to be passed to the C functions, other functions create edgelists and handle missing edge data.ergm.Cprepare(nw, m, response = NULL)ergm.Cprepare.el(x, attrname=NULL, prototype=NULL)
ergm.Cprepare.miss(nw)
ergm.design(nw, model, verbose = FALSE)
ergm.getmodelx
is already an edgelist. (For example, if the prototype is undirected,
ergm.Cprepare.el ergm.Cprepare returns Clist: a list of parameters used by several of the fitting routines containing
ergm.Cprepare.missergm.Cpreparefunction headerergm.Cpreparebuilds an object called Clist that contains all the necessary ingredients to be passed to the C functionsergm.Cprepare.elconstructs and serializes a very simple static edgelist, with the vertex having the lesser index the tail and sorted by tails, then by heads.ergm.Cprepare.missconstructs an edgelist asergm.Cprepare.el, but only includes 'missing' edges (marked as NA)ergm.designfunctions asergm.Cpreparewould, but acts on the network of missing edges