Description Usage Arguments Examples

This function uses the habitat model equation and parameter values from the hab_equation function to calculate a predicted CPUE. A dummy variable for a year effect is added from the yearp function using the year of the survey for each of the stations. The function also #' can incorporate a presence-absence prediction (defaults to 1 for present) #' from an external step (usually from the presence_absence function)

1 |

`variables` |
Set of habitat variables to use in the modeling |

`form` |
for each variable, a form for the model equation (1, 2 or 3) |

`par` |
values for each of the parameters |

`pred_pa` |
the predicted presence or absence at each transect |

`year` |
year of the data collection |

1 | ```
HabModel()
``` |

rooperc4/MEHRSI documentation built on May 21, 2019, 9:35 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.