R/CA.r

Defines functions CA

Documented in CA

CA <- function(data, nd = 2, suprow = NA, supcol = NA) {

# This is mainly a wrapper for the ca function with some alternative options to come

# CA computations
# just make ca object 
  data.ca             <- ca(data, rowsup=suprow, colsup=supcol)  
  data.ca$rowpcoord   <- data.ca$rowcoord %*% diag(data.ca$sv)
  data.ca$colpcoord   <- data.ca$colcoord %*% diag(data.ca$sv)
  return(data.ca)
  }

Try the easyCODA package in your browser

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

easyCODA documentation built on Jan. 15, 2022, 3 a.m.