edge.prob2 | R Documentation |
Computes tie probabilities for each dyad. Largely a wrapper for edgeprob() in btergm.
edge.prob2(model,verbose=FALSE)
model |
model is the ergm object. |
verbose |
Boolean operator. If set to T, updates user on progress of edge.prob2. May be useful for large networks. |
Computes tie probabilities for each dyad in the ERGM sample space.This function is largely a wrapper for the edgeprob function in btergm, but can be applied to curved ERGMs.
Returns a dataframe where weach row is a dyad and each column is a term in the model, an identification variable for the vertices/dyads, or the estimated probability of observing a tie. See edgeprob() in btergm for more details.
Scott Duxbury, Assistant Professor, University of North Carolina–Chapel Hill, Department of Sociology. original author is Philip Leifeld at University of Essex.
edgeprob
library(ergm) data("faux.dixon.high") my.ergm<-ergm(faux.dixon.high~edges+ nodeifactor("sex")+ nodeofactor("sex")+ nodematch("sex")+ mutual) edge.prob2(my.ergm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.