LV_project_alpha_pairwise_lambdacov_global_alphacov_pairwise: Lotka-Volterra model for projecting abundances, with specific...

View source: R/LV_project_alpha_pairwise_lambdacov_global_alphacov_pairwise.R

LV_project_alpha_pairwise_lambdacov_global_alphacov_pairwiseR Documentation

Lotka-Volterra model for projecting abundances, with specific alpha values and global covariate effects on alpha and lambda

Description

Lotka-Volterra model for projecting abundances, with specific alpha values and global covariate effects on alpha and lambda

Usage

LV_project_alpha_pairwise_lambdacov_global_alphacov_pairwise(
  lambda,
  alpha_intra,
  alpha_inter,
  lambda_cov,
  alpha_cov,
  abundance,
  covariates
)

Arguments

lambda

named numeric lambda value.

alpha_intra

single numeric value.

alpha_inter

numeric vector with interspecific alpha values.

lambda_cov

numeric vector with effects of covariates over lambda.

alpha_cov

named list of named numeric vectors with effects of each covariate over alpha values.

abundance

named numeric vector of abundances in the previous timestep.

covariates

matrix with observations in rows and covariates in named columns. Each cell is the value of a covariate in a given observation.

Value

numeric abundance projected one timestep


RadicalCommEcol/cxr documentation built on Oct. 29, 2023, 10:07 p.m.