Superseded by datagrid(...)
typical(
...,
model = NULL,
newdata = NULL,
FUN_character = Mode,
FUN_factor = Mode,
FUN_logical = Mode,
FUN_numeric = function(x) mean(x, na.rm = TRUE),
FUN_integer = function(x) round(mean(x, na.rm = TRUE)),
FUN_other = function(x) mean(x, na.rm = TRUE)
)
named arguments with vectors of values or functions for user-specified variables.
Functions are applied to the variable in the model
dataset or newdata
, and must return a vector of the appropriate type.
Character vectors are automatically transformed to factors if necessary. +The output will include all combinations of these variables (see Examples below.)
Model object
data.frame (one and only one of the model
and newdata
arguments
the function to be applied to character variables.
the function to be applied to factor variables.
the function to be applied to factor variables.
the function to be applied to numeric variables.
the function to be applied to integer variables.
the function to be applied to other variable types.