Calculate Prediction
1  | calculate_prediction(object, data, class)
 | 
object | 
 An object of class 'model_fit'.  | 
data | 
 A rectangular data object, such as a data frame.  | 
class | 
 The class probability to predict if the object has mode classification.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.