estimates parameters from hypothesis lambda != gamma, where lambda is indepdent of gamma

1 |

`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 |

There are 2*S*T free parameters under this hypothesis.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.