Learn R Programming

DSpat (version 0.1.0)

LTDataFrame: Creates covariate dataframes

Description

Creates covariate dataframes for observations and dummy quadrature points

Usage

LTDataFrame(study.area, lines, lines.psp, int.formula, det.formula, 
                   covariates, Q.lt)

Arguments

Value

cov.dfdataframe of covariates followed by rows for covariates for dummy quadrature pointscovariate.imlist of covariate images

Details

Checks to make sure that all of the variables used in formula are either in covariates or in lines. Then it extracts the values of covariates for each observation and for dummy points. These are merged with the needed covariates from lines and then a single dataframe is returned with the observations followed by the dummy points. In addition, the covariate images in a list are returned to keep with the dspat object for use in integrate.intensity.

See Also

quadscheme.lt,create.covariate.images