View source: R/tergm.godfather.R
tergm.godfather | R Documentation |
Gives the network a series of timed proposals it can't refuse. Returns the statistics of the network, and, optionally, the final network.
tergm.godfather(
formula,
changes = NULL,
toggles = changes[, -4, drop = FALSE],
start = NULL,
end = NULL,
end.network = FALSE,
stats.start = FALSE,
verbose = FALSE,
control = control.tergm.godfather()
)
formula |
An |
changes |
A matrix with four columns: time, tail, head, and
new value, describing the changes to be made. Can only be used if
LHS of |
toggles |
A matrix with three columns: time, tail, and head,
giving the dyads which had changed. Can only be used if LHS of
|
start |
Time from which to start applying changes. Note that
the first set of changes will take effect at |
end |
Time at which to finish applying changes. Defaults to the last time point at which a change occurs. |
end.network |
Whether to return the network that
results. Defaults to |
stats.start |
Whether to return the network statistics at
|
verbose |
A logical or an integer to control the amount of
progress and diagnostic information to be printed. |
control |
A control list generated by
|
If end.network
is FALSE
(the default), an
mcmc
object with the requested network statistics
associated with the network series produced by applying the
specified changes. Its mcmc
attributes encode the
timing information: so start(out)
gives the time
point associated with the first row returned, and
end(out)
out the last. The "thinning interval" is
always 1.
If end.network
is TRUE
, return a network
object with
lasttoggle
"extension", representing the final network, with a
matrix of statistics described in the previous paragraph attached to it as
an attr
-style attribute "stats"
.
simulate.tergm()
, simulate_formula.network()
, simulate_formula.networkDynamic()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.