Hello,
I am very new to R. I have a mac running the latest software and am having an issue reading my csv data.
I have a file in both .csv and .txt format. I have some columns that say Yes or No, and other columns with some text without spaces. However, when I import it into R, it just says "Character".
My friend imported it in their PC with no issues, but they already had R installed. I'm wondering if this is a mac issue? Did I forget to install any packages?
To your second question, I know the csv and text file show yes or no, or another word, but when I import it, instead of showing the actual word, everything that has characters (anything other than numbers) just shows "character". However, the headers show just fine (ie. Factor1)
I had saved the data from some previous work I was doing to get factors scores for regression. So it shows the column heading, and some factor scores. Is this helpful?
So my code was:
##Combining loadings for 3 factors to the main dataset
data2<- cbind(data, factor$scores)
summary(data2)