##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
library(SPARTAAS)
data(datangkor)
## contingency table
cont <- datangkor$contingency
distance <- CAdist(cont, nPC = "max")
distance
## run without printing the plot
distance <- CAdist(cont, nPC = "max", graph=FALSE)
Run the code above in your browser using DataLab