RK_project_alpha_pairwise_lambdacov_global_alphacov_pairwise: Ricker model for projecting abundances, with specific alpha...

View source: R/RK_project_alpha_pairwise_lambdacov_global_alphacov_pairwise.R

RK_project_alpha_pairwise_lambdacov_global_alphacov_pairwiseR Documentation

Ricker model for projecting abundances, with specific alpha values and global covariate effects on alpha and lambda

Description

Ricker model for projecting abundances, with specific alpha values and global covariate effects on alpha and lambda

Usage

RK_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


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