Here's where I'm getting the definition of Discriminant Correspondence Analysis from: https://www.semanticscholar.org/paper/Discriminant-Correspondence-Analysis-Abdi/55b6fa9ad5c3fae17cd7123656556abbadf5deb6
I'd like to use Discriminant Correspondence Analysis using functions from two different packages. TExPosition accepts nominal data as input, which meets the definition. But ade4 only accepts integer data, which does not meet the definition.
install.packages("TExPosition") library(TExPosition) #https://cran.r-project.org/web/packages/TExPosition/
data(dica.wine) Usage: dica.res <- tepDICA(dica.wine$data,DESIGN=dica.wine$design,make_design_nominal=FALSE)
head(dica.wine$data) #nominal transformed to 0's and 1's.
install.packages("ade4") library(ade4) #https://cran.r-project.org/web/packages/ade4/ade4.pdf data(perthi02)
Usage: discrimin.coa(perthi02$tab, perthi02$cla, scan = FALSE)
head(perthi02$tab) 'Integers, possibly counts, which does not look like it was derived from nominal data.
Can anyone explain how I could get ade4 to accept nominal data as input?