social.cor.matrix: Social correlation matrix

Description Usage Arguments Value Examples

Description

Calculates the social correlation matrix for a given network

Usage

1
2
social.cor.matrix(A, max.depth = nrow(A), n.pilot = 5000,
  n.estimate = 10000)

Arguments

A

a (possibly weighted) adjacency matrix.

max.depth

the maximum length of the paths to use.

n.pilot

parameter to be passed to social.all.paths.

n.estimate

parameter to be passed to social.all.paths.

Value

The calculated social correlation matrix.

Examples

1
2
3
4
5
6
A = matrix(c(0,1,0,1,0,
             1,0,0,1,1,
             0,0,0,1,1,
             1,1,1,0,0,
             0,1,1,0,0), nrow=5)
S = social.cor.matrix(A)

social documentation built on May 2, 2019, 12:36 p.m.