RK_pm_alpha_pairwise_lambdacov_none_alphacov_none: Ricker model with pairwise alphas and no covariate effects

Description Usage Arguments Value

View source: R/RK_pm_alpha_pairwise_lambdacov_none_alphacov_none.R

Description

Ricker model with pairwise alphas and no covariate effects

Usage

1
2
3
4
5
6
7
8
RK_pm_alpha_pairwise_lambdacov_none_alphacov_none(
  par,
  fitness,
  neigh_intra_matrix = NULL,
  neigh_inter_matrix,
  covariates,
  fixed_parameters
)

Arguments

par

1d vector of initial parameters: 'lambda', 'alpha_intra' (optional), 'alpha_inter', and 'sigma'

fitness

1d vector of fitness observations, in log scale

neigh_intra_matrix

optional matrix of one column, number of intraspecific neighbours for each observation

neigh_inter_matrix

matrix of arbitrary columns, number of interspecific neighbours for each observation

covariates

included for compatibility, not used in this model

fixed_parameters

optional list specifying values of fixed parameters, with components "lambda","alpha_intra","alpha_inter".

Value

log-likelihood value


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