horizontal_community_matrix: Create a matrix for a horizontal community network

View source: R/horizontal_community_matrix.R

horizontal_community_matrixR Documentation

Create a matrix for a horizontal community network

Description

Create a matrix for a horizontal community network

Usage

horizontal_community_matrix(
  S = 5,
  c = 0.5,
  tau = 1.5,
  min.diag.dom = 0,
  restricted.positive = TRUE,
  int.mean = 0,
  int.sd = 1
)

Arguments

S

richness

c

connectance

tau

inverse of kurtosis (tau ~1.5 gives kurtosis ~3 for S=25) see https://statisticaloddsandends.wordpress.com/2019/04/15/the-sinh-arcsinh-normal-distribution/

min.diag.dom

the minimum diagonal dominance wanted in each row

restricted.positive

whether interactions are only >0 or not

int.mean

mean of interaction strength (taken from a normal distribution)

int.sd

standard deviation of interaction strength

Value

square matrix


RadicalCommEcol/MultitrophicFun documentation built on Oct. 13, 2023, 1:27 a.m.