View source: R/model_utility_functions.R
combinePreds | R Documentation |
Create a table of combinations of factor levels for the
the predictors in a searcher efficiency or carcass persistence analysis.
This is a utility function called by pkm0
and cpm0
.
combinePreds(preds, data)
preds |
Vector of character strings with the names of predictor variables included in the model. |
data |
Searcher efficiency or carcass persistence 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 is
a column with CellNames
, which are the combinations of predictor
levels separated by periods ( . ).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.