Data import difficulty

22 views
Skip to first unread message

Daniel Missailidis

unread,
Apr 28, 2025, 11:58:42 PMApr 28
to FactoMineR users
Hello,

When I commence a PCA analysis with data table structured to have the individuals listed in Column A, when this is imported into Factoshiny it creates a new column called names (each assigned a number counting upwards). Therefore my individuals names cannot be used as the names in the analysis. Why is this occuring?

Daniel Missailidis

unread,
Apr 29, 2025, 12:07:32 AMApr 29
to FactoMineR users
Capture.PNG
The first "Names" column was not there in my data. I tried calling the second column (my original column) Names out of desperation which is why it is the same here. It was not called that originally and I have evn tried leaving it blank..

Daniel Missailidis

unread,
Apr 29, 2025, 12:08:20 AMApr 29
to FactoMineR users
I also tried it with your decathlon dataset and the same thing happened

François Husson

unread,
Apr 29, 2025, 2:19:19 AMApr 29
to factomin...@googlegroups.com
It is necessary to have the names of the individuals. So if the rownames are not available in your matrix, the names 1 to n with n the number of individuals are given to the individuals.
FH


Le 29/04/2025 à 05:58, Daniel Missailidis a écrit :
Hello,

When I commence a PCA analysis with data table structured to have the individuals listed in Column A, when this is imported into Factoshiny it creates a new column called names (each assigned a number counting upwards). Therefore my individuals names cannot be used as the names in the analysis. Why is this occuring?
--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "FactoMineR users".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse factominer-use...@googlegroups.com.
Pour afficher cette discussion, accédez à https://groups.google.com/d/msgid/factominer-users/0fcffaa1-93d7-4c54-b395-dcbaf38bf69dn%40googlegroups.com.

--
François Husson
Department Statistics & Computer Science
L'Institut Agro
65 rue de St-Brieuc - 35042 Rennes
Tel: +33 2 23 48 58 86
https://husson.github.io/
https://www.youtube.com/@HussonFrancois/videos
Message has been deleted

Daniel Missailidis

unread,
May 5, 2025, 4:24:47 AMMay 5
to FactoMineR users
Thank you kindly Francois, I did not realise that R did not attribute the first column as a row name by default. I will have to figure out how to do this!
Reply all
Reply to author
Forward
0 new messages