Description Usage Arguments Examples
This function takes observed and predicted CPUE and calculates a negative log-likelhood for the data it uses either a log-normal or gamma distribution. The model form, parameters, habitat variables, presence or absence and year are passed through this function to the HabModel function which computes the predicted values. It accepts "normal" or "gamma" as arguments for distribution.
1 2 | modlike(par, form, variables, ob_CPUE, pred_pa = 1, year,
distribution = "normal")
|
par |
values for each of the parameters |
form |
for each variable, a form for the model equation (1, 2 or 3) |
variables |
Set of habitat variables to use in the modeling |
ob_CPUE |
Observed CPUE at the transect |
pred_pa |
Predicted presence or absence at the transect |
year |
Set of habitat variables to use in the modeling |
distribution |
Either "normal" (the default) or "gamma" |
1 | modlike()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.