PlotPredictions | R Documentation |
Plot true versus predicted output (response)
made by Predict
or CrossValidate
.
PlotPredictions(
y_pred,
y,
y_name = "y",
y_units = "",
title = c("Predict", "CrossValidate"),
pch = 1
)
y_pred |
A data frame of predicted output values
made by |
y |
A vector of length equal to the number of rows in |
y_name |
An optional character string containing the output variable name (for labels). |
y_units |
An optional character string constaining the units of the output variable (for labels). |
title |
A character string for the name of the function generating
the predictions (for an appropriate title):
"Predict" from |
pch |
Plotting symbol for |
No return value, generates plots.
PlotPredictions(borehole_cv, y, title = "CrossValidate")
PlotPredictions(borehole_pred$y_pred, borehole$y_true, title = "Predict")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.