getDfuncModelFrame: Return model frame for dfunc

Description Usage Arguments Details Value Author(s)

Description

Returns the model frame from a formula and data set. This routine is intended to only be called from within other Rdistance functions.

Usage

1

Arguments

formula

A dfunc formula object. See dfuncEstim.

data

The data frame from which variables in formula (potentially) come.

Details

This routine is needed to get the scoping correct in dfuncEstim. In dfuncEstim, we first merge the detection and site data frames, then call this routine.

Value

a model frame containing the response and covariates resulting from evaluating formula in data.

Author(s)

Trent McDonald, WEST, Inc. tmcdonald@west-inc.com


Rdistance documentation built on May 2, 2019, 3:49 a.m.