predict.cutpointr: Predict using a cutpointr object
Description
Predictions are made on the data.frame in newdata
using either the variable name or by applying the same transformation to
the data as in cutpointr. The class of the output will be identical to the class
of the predictor.
a data.frame with a column that contains the predictor
variable.
cutpoint_nr
if multiple optimal cutpoints were found this parameter
defines which one should be used for predictions. Can be a vector if
different cutpoint numbers are desired for different subgroups.