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, ...