From c6ffe6c840164d004f307d92acac8f12764aace5 Mon Sep 17 00:00:00 2001 From: l-ramirez-lopez Date: Thu, 11 Feb 2016 00:44:24 +0100 Subject: [PATCH] method wapls2 is deprectaed --- R/mbl.R | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/mbl.R b/R/mbl.R index 5dc66fb..236b581 100644 --- a/R/mbl.R +++ b/R/mbl.R @@ -504,7 +504,7 @@ mbl <- function(Yr, Xr, Yu = NULL, Xu, ## Remove this line for the package version following 1.2 if(method == "wapls2") - stop("The method 'wapls2' is deprecated. Since it is not longer supported, choose instead one of the following options: 'pls', 'wapls1', 'gpr'") + stop("The method 'wapls2' is deprecated. Since it is no longer supported, choose instead one of the following options: 'pls', 'wapls1', 'gpr'") match.arg(method, c("pls", "wapls1", "gpr")) diff --git a/README.md b/README.md index 51c5cc8..df44252 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ In order to predict each value in Yu, the `mbl` function takes each sample in Xu __`'gpr'`__: Gaussian process with linear kernel __`'pls'`__: Partial least squares __`'wapls1'`__: Weighted average partial least squares 1 -__`'wapls2'`__: Weighted average partial least squares 2 (not longer supported) +__`'wapls2'`__: Weighted average partial least squares 2 (no longer supported) ## Keywords * _Infrared spectroscopy_