Skip to content

Commit cfc7341

Browse files
committed
Update commonMachineLearningRegression.R
1 parent bd59638 commit cfc7341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/commonMachineLearningRegression.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@
651651
nTest <- result[["ntest"]]
652652
plotData <- data.frame(y = c(nTrainAndValid, nTest), x = c("Train and validation", "Test"), group = c(1, 1))
653653
p <- ggplot2::ggplot(data = plotData, mapping = ggplot2::aes(x = group, y = y, fill = factor(x, levels = c("Test", "Train and validation")))) +
654-
ggplot2::geom_bar(stat = "identity", col = "black", size = 0.5) +
654+
ggplot2::geom_bar(stat = "identity", col = "black", linewidth = 0.5) +
655655
ggplot2::scale_y_continuous(name = NULL, limits = c(0, nTrainAndValid + nTest + ((nTrainAndValid + nTest) / 5))) + # adjust limits to include "Total" text
656656
ggplot2::coord_flip() +
657657
ggplot2::xlab(NULL) +

0 commit comments

Comments
 (0)