regressoR (version 1.1.8)

plot_real_prediction: plot_real_prediction

Description

scatter plot between the actual value of the variable to be predicted and the prediction of the model.

Usage

plot_real_prediction(real, prediction, model = "")

Arguments

real

the real values in traning-testing.

prediction

the prediction values in traning-testing.

model

the name of the model of the scatter plot.

Examples

Run this code
# NOT RUN {
real <- rnorm(45)
prediction <- rnorm(45)
model <- "KNN"
plot_real_prediction(real, prediction, model)

# }

Run the code above in your browser using DataCamp Workspace