Description Usage Arguments Value

View source: R/calculate_network_statistics.R

Calculates out2stars, in2stars, ctriads, mutual, ttriads, and edges statistics (with or without exponential down weighting) for a real-valued network.

1 2 | ```
calculate_network_statistics(network, weights = NULL,
downweight_statistics_together = TRUE, include_diagonal = FALSE)
``` |

`network` |
A square numeric matrix (sociomatrix or adjacency matrix) representing the network. |

`weights` |
If you wish to provide your own weights, you must provide a vector of length 6 with terms corresponding to out2stars, in2stars, ctriads, mutual, ttriads, edges in that order. |

`downweight_statistics_together` |
Logical indicating whether exponential down weighting should be done together or separately. Defaults to TRUE. |

`include_diagonal` |
Logical indicating whether the diagonal should be included in the network statistics. Defaults to FALSE. |

A gergm object containing parameter estimates.

matthewjdenny/GERGM documentation built on May 15, 2018, 4:22 p.m.

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.