check_predict_method_throw_error {pipeliner} | R Documentation |
predict
method definedHelper function that checks if the object returned from the estimate_model
method has
a predict
method defined for it.
check_predict_method_throw_error(func_return_object)
func_return_object |
The object returned from the |
## Not run:
estimation_method <- function(df) lm(eruptions ~ 0 + waiting, df)
data <- faithful
model_estimate <- estimation_method(data)
check_predict_method_throw_error(model_estimate)
# NULL
## End(Not run)