calculate_network_statistics: A Function to estimate calculate (weighted) network...

Description Usage Arguments Value

View source: R/calculate_network_statistics.R

Description

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

Usage

1
2
calculate_network_statistics(network, weights = NULL,
  downweight_statistics_together = TRUE)

Arguments

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.

Value

A gergm object containing parameter estimates.


GERGM documentation built on May 29, 2017, 10:47 a.m.

Search within the GERGM package
Search all R packages, documentation and source code