R/torch_cor.R

Defines functions torch_cor

#' @export
torch_cor<-function(x,
                    center = F)
{
  cov_mat = torch_cov(x,center = center)
  mat = torch_cov2cor(cov_mat)
  return(mat)
}
adsb85/lqp documentation built on April 9, 2022, 12:35 a.m.