Learn R Programming

GERGM (version 0.13.0)

Thin_Statistic_Samples: A function to thin out simulated GOF statistics so that they have an MCMC autocorrelation of less tahn 0.01.

Description

Takes as input the `@simulated_statistics_for_GOF` field of the GERGM object (a data.frame) and returns the same data frame but now thinned to reduce autocorrelation in the samples. Useful for exactly replicating the statistics used in the GOF() function.

Usage

Thin_Statistic_Samples(statistics)

Arguments

statistics

A data.frame stored in the `@simulated_statistics_for_GOF` field of the GERGM object.

Value

A data.frame that has been thinned to reduce autocorrelation.