View source: R/model_utility_functions.R
combinePredsAcrossModels | R Documentation |
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.
combinePredsAcrossModels(preds_CP, preds_SE, data_CP, data_SE)
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. |
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 ( . ).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.