RK_er_lambdacov_none_effectcov_none_responsecov_none {cxr}R Documentation

Effect response Ricker model without covariate effects

Description

Note that, as e and r are not pair-specific, all species parameters are fit in the same function.

Usage

RK_er_lambdacov_none_effectcov_none_responsecov_none(
  par,
  fitness,
  target,
  density,
  covariates,
  fixed_parameters
)

Arguments

par

1d vector with initial parameters in the order: lambda,effect,response,sigma.

fitness

1d vector with fitness observations.

target

matrix with species in rows, observations in columns. Value is 1 if a species is focal for a given observation, 0 otherwise.

density

matrix with species in rows, observations in columns. Value is density of each sp as neighbour for each observation.

covariates

included for compatibility, not used in this model.

fixed_parameters

optional list specifying values of fixed parameters, with components "lambda","effect","response".

Value

log-likelihood value


[Package cxr version 1.1.1 Index]