R/predict.RAP.R

predict.RAP <-
function(object, Xnew, ...){
  # function to predict based on current estimate of regression coefficients
  return( Xnew %*% t(object$beta))
}

Try the rRAP package in your browser

Any scripts or data that you put into this service are public.

rRAP documentation built on May 1, 2019, 9:30 p.m.