Learn R Programming

lares (version 4.4)

mplot_lineal: Linear Regression Results Plot

Description

This function plots a Linear Regression Result

Usage

mplot_lineal(tag, score, regression = FALSE, subtitle = NA,
  model_name = NA, save = FALSE, subdir = NA,
  file_name = "viz_lineal.png")

Arguments

tag

Vector. Real known label

score

Vector. Predicted value or model's result

regression

Boolean. Plot with geom_smooth's lm regression?

subtitle

Character. Subitle to show in plot

model_name

Character. Model's name

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