R/predict.BayesPLS.R

Defines functions predict.BayesPLS

Documented in predict.BayesPLS

predict.BayesPLS <-
function(obj, newX){
  drop(obj$intercept) + newX%*%obj$coef
}
solvsa/BayesPLS documentation built on May 29, 2019, 9:49 a.m.