Internal plotting function called by summarizeCountData.
Selects an appropriate ggplot based on the number and type of
predictors supplied.
Arguments
- y
Numeric vector of non-negative integer counts (the response).
- mf
A model frame returned by
model.frame.- pred_vars
Character vector of predictor variable names to plot. If more than two names are supplied, only the first two are used and a warning is issued.
- pred_types
Named character vector classifying each element of
pred_varsas either"continuous"or"categorical".
Details
See summarizeCountData for the full description of which
plot type is produced for each predictor combination.