| LTDataFrame {DSpat} | R Documentation |
Creates covariate dataframes for observations and dummy quadrature points
LTDataFrame(study.area, lines, lines.psp, int.formula, det.formula,
covariates, Q.lt)
study.area |
owin object that defines study area |
lines |
data frame of lines with structure as shown in quadscheme.lt |
lines.psp |
psp class with added list elements width and label |
int.formula |
model formula for intensity process |
det.formula |
model formula for detection scale process |
covariates |
covariate dataframe (see DSpat for structure) |
Q.lt |
lt quadscheme of class quad |
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.
cov.df |
dataframe of covariates followed by rows for covariates for dummy quadrature points |
covariate.im |
list of covariate images |
Devin Johnson; Jeff Laake
quadscheme.lt,create.covariate.images