
Create a Plumber API to predict with a deployable vetiver_model() object
Source: R/api.R
vetiver_pr_predict.RdThis function was deprecated to use vetiver_api directly instead.
Arguments
- pr
A Plumber router, such as from
plumber::pr().- vetiver_model
A deployable
vetiver_model()object- path
The endpoint path
- debug
TRUEprovides more insight into your API errors.- ...
Other arguments passed to
predict(), such as predictiontype