This is a basic question in R but I have been for a long time trying to catch the trick, but could not.
Every time when I import CSV files (table) into R using the set directory function and then read.csv function and giving it a name, I obtain a data frame, but the row names were placed among variables as column 1 and thus the column 0 is just the series of numbers 1, 2, 3, 4, etc set by default in R.
What I want is to obtain the table, but the row names should be given column 0 and the first variable is column 1, then if I am making multidimentional scaling, I can plot the names of the row rather than the numbers 1, 2, 3, etc,
How can I do that ? is this because of a different exportation function? I am sure that my table as attached contain the first column as row names and the first row as column names.
Thanks in advance
Edited by mohsamir1984, 12 December 2018 - 09:54 AM.