Learn R Programming

amt (version 0.2.2.0)

calc_w: 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.