compare_prediction: Title

Description Usage Arguments Value Examples

Description

Title

Usage

1
2
compare_prediction(df, ..., response, success, level = NULL, pal,
  text_class = NULL, graph = TRUE)

Arguments

df

a tibble or a data frame

...

the columns unquoted names with the methods to compare

response

the response variable

success

a character value defining how the success event of the response variable is coded

level

a named vector defining how to code the events of response variable. See example below

pal

a vector of colors of length the quantity of methods to compare

text_class

a character value. The title response varibale class legend

graph

boolean. Should the graphics be plotted ?

Value

a list with four elements

models

the different models fitted with some statistics

roc

statistics about ROC

graph_pred

the graphic of predictions

graph_roc

the graphic of ROC

Examples

1
#Find an example

BenjaminLouis/verifmesures documentation built on May 23, 2019, 6:01 p.m.