getnetmets2: Calculate network metrics on matrices.

Description Usage Arguments Examples

View source: R/getnetmets2.r

Description

This is used in calculating network metrics on pairs of matrices made from balanced and unbalanced trees.

Usage

1
2
  getnetmets2(filepath,
    netmets = c("connectance", "NODF2"), directory)

Arguments

filepath

Path to an edgelist

netmets

Network structure metrics to calculate - only use those that calculate single values for each matrix.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
getnetmets2(filepath = "/Users/scottmac2/testtest/sp30_bal_eb_twom_4.web")

filepaths <- c("/Users/scottmac2/testtest/sp30_bal_eb_twom_4.web",
								"/Users/scottmac2/testtest/sp30_bal_bm_twom_3.web",
								"/Users/scottmac2/testtest/sp30_bal_bm_twom_2.web",
								"/Users/scottmac2/testtest/sp30_bal_bm_twom_1.web")
l_ply(filepaths, getnetmets2)

## End(Not run)

sckott/treeshape documentation built on May 29, 2019, 4:07 p.m.