method_predict() is the companion to making_predict(). It collects
predict functions for the base implementation and named variants, used
only when fn returns a non-class_stat_infer object.
Arguments
- default
A function with signature
function(.x, new_data = NULL, ...). Required.- ...
Named functions, one per variant. Names must match variant names registered in
agendas(). Omitted variants fall back todefaultautomatically.
