blkergm: The main function to fit block ERGMs

Description Usage Arguments References See Also Examples

View source: R/blkergm.R

Description

This is the main function to fit block ERGMs.

Usage

1
2
blkergm(formula,offset.coef=NULL,target.stats=NULL,eval.loglik=TRUE,
estimate=c("MLE","MPLE"),control=control.ergm(),verbose=FALSE,...)

Arguments

formula

The formula is expressed as nw~blkergm.terms

offset.coef

See ergm for more explanation

target.stats

See ergm for more explanation

eval.loglik

See ergm for more explanation

estimate

The estimation methods include "MLE" and "MPLE" for ERGMs, they both work for block ERGMs.

control

See ergm for more explanation

verbose

See ergm for more explanation

...

Additional arguments, to be passed to lower-level functions.

References

Hunter DR, Goodreau SM, Handcock MS (2011) ergm.userterms: A Template Package for Extending statnet.

See Also

statnet, network, ergm, ergm-terms

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data(zachary)
summary(zachary~blkdegseq(c(0,16,34),2))
summary(zachary~blktriangle(c(16,34),2))
#block Beta model
fit <- blkergm(zachary~blkdegseq(c(0,16,34),1)+blkdegseq(c(0,16,34),2)+blkedges(c(16,34),2))
summary(fit)

## End(Not run)

blkergm documentation built on May 19, 2017, 3:55 p.m.

Search within the blkergm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.