I am using RStudio Cloud to conduct Correspondence Analysis (CA). When I import the .csv dataset which is already in a general contingency table format, R is placing an X in the first column and is referring to it as a factor. When I try to run CA, I get:
Error in sum(N) : invalid 'type' (character) of argument
which I suspect is because I have this unnecessary factor column.
Here is quick shot of what it looks like now and what I need it to look like in RStudio:
Thank you for your time!