Plot the train/test generalizability diagnostic

plotGeneralizability(covariateSummary, fileName = NULL)

Arguments

covariateSummary

A prediction object as generated using the runPlp function.

fileName

Name of the file where the plot should be saved, for example 'plot.png'. See the function ggsave in the ggplot2 package for supported file formats.

Value

A ggplot object. Use the ggsave function to save to file in a different format.

Details

Create a plot showing the train/test generalizability diagnostic #'