From 851f56c20ff04081339ad37d5dfffe0e59387f3b Mon Sep 17 00:00:00 2001 From: egillax Date: Tue, 22 Oct 2024 13:33:16 +0200 Subject: [PATCH] Fix x legend on plot --- R/Plotting.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/Plotting.R b/R/Plotting.R index f76ebb6c..e3cadcda 100644 --- a/R/Plotting.R +++ b/R/Plotting.R @@ -1279,7 +1279,7 @@ plotNetBenefit <- function(plpResult, ) ) + ggplot2::labs( - x = "Predicted Probability", + x = "Prediction Threshold", y = "Net Benefit" ) + ggplot2::ggtitle(evalType) +