mvr_wrappers.r
来自「偏最小二乘算法代码及相关说明,在机器学习,实时数值仿真中用得较多」· R 代码 · 共 24 行
R
24 行
### mvr_wrappers.R: plsr, pls and pcr wrappers for mvr### $Id: mvr_wrappers.R 132 2007-08-24 09:21:05Z bhm $plsr <- function(..., method = pls.options()$plsralg){ cl <- match.call() cl$method <- match.arg(method, c("kernelpls", "widekernelpls", "simpls", "oscorespls", "model.frame")) cl[[1]] <- as.name("mvr") res <- eval(cl, parent.frame()) res$call <- match.call() # Fix call component res}pcr <- function(..., method = pls.options()$pcralg){ cl <- match.call() cl$method <- match.arg(method, c("svdpc", "model.frame")) cl[[1]] <- as.name("mvr") res <- eval(cl, parent.frame()) res$call <- match.call() # Fix call component res}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?