fitness_ratio: Fitness ratio among two or more species

Description Usage Arguments Value Examples

View source: R/fitness_ratio.R

Description

Fitness ratio among two or more species

Usage

1
2
3
4
5
fitness_ratio(
  effect_response_fit = NULL,
  fitness_sp1 = NULL,
  fitness_sp2 = NULL
)

Arguments

effect_response_fit

cxr_er_fit object

fitness_sp1

numeric value representing the fitness (a.k.a. competitive ability) of the first taxa

fitness_sp2

numeric value representing the fitness (a.k.a. competitive ability) of the second taxa

Value

either a matrix with fitness ratios for all pairs of fitted species, or a single numeric value. The matrix elements represent the ratios of species in columns over species in rows, and conversely, the numeric value represents the ratio of sp1 over sp2.

Examples

1
fitness_ratio(fitness_sp1 = 0.6, fitness_sp2 = 0.3)

cxr documentation built on April 16, 2021, 5:07 p.m.