calc_w: Calculate 'w(x)'

View source: R/uhc_plots.R

calc_wR Documentation

Calculate w(x)

Description

Calculates the value of the exponential habitat selection function

Usage

calc_w(f, b, newdata)

Arguments

f

⁠[formula]⁠
A model formula.

b

⁠[numeric]⁠ A named vector of coefficients.

newdata

⁠[data.frame]⁠
A data.frame to predict eHSF values.

Details

This is actually like to be w(x) * phi(x) for an iSSF.


amt documentation built on June 25, 2024, 1:14 a.m.