visstats: Visualization of the network and the basic network statistic

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/visstats.R

Description

The bipartite network from the interaction matrix is build, visualized and the basic network statistics are computed

Usage

1
visstats(mat.int, negative.values = TRUE, vcat, vcat.env.comps, vcat.actions)

Arguments

mat.int

Interaction matrix as matrix

negative.values

Defines if interaction matrix contains negative interactions. Default is set to TRUE.

vcat

A vector which contains the labels of the vertice categories.

vcat.env.comps

A vector which contains the vertice categories of the environmental components.

vcat.actions

A vector which contains the vertice categories of the actions.

Details

...

Value

Two data frames. bas.stats contains the results of the basic network statistic and deg includes the weighted vertice degrees and mean degrees.

Author(s)

Robin Schwemmle robin.schwemmle@venus.uni-freiburg.de

See Also

assortativity_nominal, degree_tm, degree_w, distance_tm, distance_w, clustering_tm

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
data('tallahala')
vcat <- c("Water", "Land", "Biology", "Socioeconomy", "Infrastructure")
vcat.env.comps <- c(1,1,1,1,2,2,1,1,2,2,3,3,3,3,3,3,3,4,4,4,4)
vcat.actions <- c(1,1,1,5,5,5,1,3,3,5)
visstats(tallahala, negative.values = TRUE, vcat = vcat, vcat.env.comps = vcat.env.comps,
vcat.actions = vcat.actions)

data('eastkarun')
vcat <- c("Water", "Land", "Biology", "Socioeconomy")
vcat.env.comps <- c(1,2,2,2,2,1,1,3,3,3,3,3,3,4,4,4,4,4,4,4)
vcat.actions <- c(1,1,1,3,1)
visstats(eastkarun, negative.values = TRUE, vcat = vcat, vcat.env.comps = vcat.env.comps,
vcat.actions = vcat.actions)

data('kladovo')
vcat <- c("Water", "Land", "Biology", "Socioeconomy", "Infrastructure")
vcat.env.comps <- c(1,2,2,2,2,2,3,3,3,3,3,2,2,4,4,4)
vcat.actions <- c(5,5,5,5,5,5,5,5,5)
visstats(kladovo, negative.values = FALSE, vcat = vcat, vcat.env.comps = vcat.env.comps,
vcat.actions = vcat.actions)

schwemro/BiNetEIA documentation built on March 24, 2020, 12:05 a.m.