first_level {shinymodels} | R Documentation |
This function takes data, event_level
and y_name
, as arguments and
returns the first level in a classification data.
first_level(dat, event_level = c("first", "second"), y_name)
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. |
A string.