Learn R Programming

lares (version 4.1)

mplot_cuts: Cuts by quantiles for score plot

Description

This function cuts by quantiles any score or prediction

Usage

mplot_cuts(score, splits = 10, model_name = NA, subtitle = NA,
  save = FALSE, subdir = NA, file_name = "viz_ncuts.png")

Arguments

score

Vector. Predicted value or model's result

splits

Integer. Numer of separations to plot

model_name

Character. Model's name

subtitle

Character. Subtitle to show in plot

save

Boolean. Save output plot into working directory

subdir

Character. Sub directory on which you wish to save the plot

file_name

Character. File name as you wish to save the plot