estC: estimate hypothesis c_st = c

Description Usage Arguments Details

View source: R/estimateC.R

Description

estimate parameters from hypothesis lambda = c*gamma

Usage

1
estC(Xdst, Ydst, J, I, EM, em_maxiter, BALANCED)

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

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

EM

boolean; whether or not EM algorithm is used

em_maxiter

integer specifying max number of EM iterations

BALANCED

boolean; whether or not data are BALANCED

Details

There are S*T + 1 free parameters under this hypothesis.


spiders documentation built on May 30, 2017, 3:31 a.m.