plotCrossValidation {rSRD} | R Documentation |
plotCrossValidation
Description
Plots data generated by the calculateCrossValidation function as a boxplot. Includes max and min as whiskers as well as the average (marked by a crossed circle), median (marked by a horizontal bold line) and the 1st and 3rd quartile of the values. Visualizes outliers in the data as red triangles.
Usage
plotCrossValidation(cv_results)
Arguments
cv_results |
The List of results returned by the calculateCrossValidation function. |
Value
None.
Author(s)
Linus Olsson linusmeol@gmail.com, Alexander Pothmann
Examples
df <- data.frame(
Sol_1=c(7, 6, 5, 4, 3, 2, 1),
Sol_2=c(1, 2, 3, 4, 5, 7, 6),
Sol_3=c(1, 2, 3, 4, 7, 5, 6),
Ref=c(1, 2, 3, 4, 5, 6, 7))
cv_results <- rSRD::calculateCrossValidation(df, output_to_file = FALSE)
rSRD::plotCrossValidation(cv_results)
[Package rSRD version 0.1.7 Index]