first_class_prob_name {shinymodels} | R Documentation |
Returns the name of predictions column for the first level variable
Description
This function takes prediction data, the event level, and the outcome name as arguments and returns the predictions column for the first level variable.
Usage
first_class_prob_name(dat, event_level, y_name)
Arguments
dat |
The predictions data frame in the |
event_level |
A single character value for the level corresponding to the event. |
y_name |
The y/response variable for the model. |
Value
A symbol.
[Package shinymodels version 0.1.1 Index]