Description Usage Arguments Value See Also Examples

View source: R/summary.statistics.networkDynamic.R

A method for `summary.statistics`

to calculate the specified
statistics for an observed `networkDynamic`

at the specified time point(s).
See `ergm-terms`

for more information on the statistics that may
be specified.

1 2 | ```
## S3 method for class 'networkDynamic'
summary.statistics(object, at, ..., basis = NULL)
``` |

`object` |
An |

`at` |
A vector of time points at which to calculate the statistics. |

`basis` |
An optional |

`...` |
Further arguments passed to or used by methods. |

A matrix with `length(at)`

rows, one for each time point in `at`

,
and columns for each term of the formula, containing the corresponding statistics measured on the network.

ergm, networkDynamic, ergm-terms, summary.statistics.network

1 2 3 4 5 6 7 8 | ```
# create a toy dynamic network
my.nD <- network.initialize(100,directed=FALSE)
activate.vertices(my.nD, onset=0, terminus = 10)
add.edges.active(my.nD,tail=1:2,head=2:3,onset=5,terminus=8)
# use a summary formula to display number of isolates and edges
# at discrete time points
summary(my.nD~isolates+edges, at=1:10)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.