GenEst (version 1.4.5)

combinePredsAcrossModels: Combine predictors across models

Description

Create a table of factor combinations of predictors in given searcher efficiency and carcass persistence models. This is a utility function called by estgGeneric and governs the cells for which detection probabilities are calculated.

Usage

combinePredsAcrossModels(preds_CP, preds_SE, data_CP, data_SE)

Arguments

preds_CP

Character vector with names of carcass persistence predictors.

preds_SE

Character vector with names of searcher efficiency predictors.

data_CP

data frame with columns for each predictor and rows corresponding to carcasses in the field trials.

data_SE

data frame with columns for each predictor and rows corresponding to carcasses in the field trials.

Value

Data frame with columns for each predictor in preds and rows for each factor level combination among the predictors. In addition there are column with CellNames, CellNames_CP, and CellNames_SE, which are the combinations of predictor levels for all predictors, CP predictors, and SE predictors (respectively), separated by periods ( . ).