predict.dblr makes predictions on new data set given the fitted dblr model object.
# S3 method for dblr
predict(object, newdata, type = "response", ...)
A fitted dblr model object, which should be returned by calling dblr_train function
A data.frame contains the samples to predict
Control the output of prediction. Default: 'response' means probability; 'Link' would produce the linear part; 'mapped' would produce a data.frame filling with the coefficients of the model
further arguments passed to or from other methods
Returns a vector of prediction or a data.frame