Skip to content

Commit

Permalink
method wapls2 is deprectaed
Browse files Browse the repository at this point in the history
  • Loading branch information
l-ramirez-lopez committed Feb 10, 2016
1 parent 2d88af5 commit c6ffe6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/mbl.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand Down

0 comments on commit c6ffe6c

Please sign in to comment.