Description Usage Arguments Details Value See Also Examples
Most generally, this function computes those summaries of the
object on the LHS of the formula that are specified by its RHS. In
particular, if given a network as its LHS and
ergmterms
on its RHS, it computes the sufficient
statistics associated with those terms.
1 2 
object 
A formula having as its LHS a

... 
further arguments passed to or used by methods. 
In practice, summary.formula()
is a thin wrapper around the
summary_formula()
generic, which dispatches methods based on the
class of the LHS of the formula.
summary.formula
for networks understands the
lasttoggle
"API".
A vector of statistics specified in RHS of the formula.
1 2 3 4 5 6 7 8 9 10 11  #
# Lets look at the Florentine marriage data
#
data(florentine)
#
# test the summary_formula function
#
summary(flomarriage ~ edges + kstar(2))
m < as.matrix(flomarriage)
summary(m ~ edges) # twice as large as it should be
summary(m ~ edges, directed=FALSE) # Now it's correct

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.