R/kPCA.kernelMatrix.R

Defines functions kPCA.kernelMatrix

Documented in kPCA.kernelMatrix

kPCA.kernelMatrix <-
function(x, ...){
  old.class <- class(x)
  class(x) <- "kern"
  object <- kPCA.kern(x)
  class(object$K) <- old.class
  class(object) <- c("kPCA.kernelMatrix", class(object)) 
  return(object)
}

Try the BKPC package in your browser

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

BKPC documentation built on May 1, 2019, 9:10 p.m.