R/hatr.R

Defines functions hatr.lmridge hatr

Documented in hatr hatr.lmridge

hatr <- function(x,...)
  UseMethod("hatr")
hatr.lmridge<- function(x, ...) {
  Z <- x$Z
  X <- x$xs
  hatr <- lapply(Z, function(x) {
    round(X %*% x, 5)
  })


  hatr
}

Try the lmridge package in your browser

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

lmridge documentation built on Jan. 15, 2023, 5:06 p.m.