Learn R Programming

lares (version 4.1)

mplot_density: Density plot for discrete and continuous values

Description

This function plots discrete and continuous values results

Usage

mplot_density(tag, score, model_name = NA, subtitle = NA,
  save = FALSE, subdir = NA, file_name = "viz_distribution.png")

Arguments

tag

Vector. Real known label

score

Vector. Predicted value or model's result

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