fitness_ratio: Fitness ratio among two or more species

View source: R/fitness_ratio.R

fitness_ratioR Documentation

Fitness ratio among two or more species

Description

Fitness ratio among two or more species

Usage

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

fitness_ratio(fitness_sp1 = 0.6, fitness_sp2 = 0.3)

cxr documentation built on Oct. 27, 2023, 1:08 a.m.