SmallWorld: Generate Small World precision matrix

Description Usage Arguments Value References Examples

View source: R/SmallWorld.R

Description

Estimate a precision matrix with a small world network structure and simulate multivariate normal data.

Usage

1
SmallWorld(p, prop, numT)

Arguments

p

Dimension of network

prop

rewiring probability

numT

number of timepoints

Value

A list with components

Precision

Estimated p by p inverse covariance matrix

Data

Data matrix containing the simulated time series for each region (numT by p data matrix)

References

Csardi G, Nepusz T: The igraph software package for complex network research, InterJournal, Complex Systems 1695. 2006. http://igraph.org

Examples

1
2
3
fit<-SmallWorld(40,.15,200)
fit$Precision
fit$Data

IxavierHiggins/siGGMrepo documentation built on May 21, 2019, 9:39 a.m.