From 125815fa2c92df26292a3850d2534fd08d23321d Mon Sep 17 00:00:00 2001 From: Sergey Kucheryavskiy Date: Fri, 23 Apr 2021 16:20:06 +0200 Subject: [PATCH] improvements to help text --- man/plotRMSE.ipls.Rd | 2 +- man/plotSelection.ipls.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/plotRMSE.ipls.Rd b/man/plotRMSE.ipls.Rd index 442844f..2155631 100644 --- a/man/plotRMSE.ipls.Rd +++ b/man/plotRMSE.ipls.Rd @@ -9,7 +9,7 @@ glob.ncomp = obj$gm$ncomp.selected, main = "RMSE development", xlab = "Iterations", - ylab = "RMSECV", + ylab = if (is.null(obj$cv)) "RMSEP" else "RMSECV", xlim = NULL, ylim = NULL, ... diff --git a/man/plotSelection.ipls.Rd b/man/plotSelection.ipls.Rd index 79b3af7..054596c 100644 --- a/man/plotSelection.ipls.Rd +++ b/man/plotSelection.ipls.Rd @@ -9,7 +9,7 @@ glob.ncomp = obj$gm$ncomp.selected, main = "iPLS results", xlab = obj$xaxis.name, - ylab = "RMSECV", + ylab = if (is.null(obj$cv)) "RMSEP" else "RMSECV", xlim = NULL, ylim = NULL, ...