ll: observed count log-likelihood of predator preferances model

Description Usage Arguments

View source: R/likelihood.R

Description

log-likelihood of fully observed count data predator preferances model

Usage

1
ll(Xdst, Ydst, lambda, gamma, J, I, c = NULL)

Arguments

Xdst

matrix of sums of number of eaten prey species s during occurrence t; rows indexed by time and cols indexed by prey species, TxS

Ydst

matrix sum of number of caught prey species s during occurrence t; rows indexed by time and cols indexed by prey species, TxS

lambda

matrix of parameters representing rates predator ate prey species s in time period t; TxS

gamma

matrix of parameters representing rates traps caught prey species s in time period t; TxS

J

vector of predators caught in each time period

I

vector of number of days all traps were left out in a given time period

c

scalar in null hypotheses


roualdes/spiders documentation built on May 27, 2019, 11:44 p.m.