I've imported my table from excel to r. I'm just struggling to find how to apply the equation to my data. For example my table has a list of suburbs down the side and then a list of suburb characteristics along the top. Say there's 120 suburbs and 28 variables/characteristics. My equation I've been told to use is:
fit <- factanal (filename [x : x+n], factors, rotation='varimax')
Should my equation look a little like this?
fit <- factanal (FileName [ 1 : 28], "Characteristic 1", "Characteristic 2" "etc" , rotation='varimax')
I'm new to R and new to this site so sorry if this is hard to understand and I am happy to provide any more information! I'm just having a lot of trouble knowing how to make this equation work to make a factor analysis with my data. Thank you
Essentially all I want to know is what I should write into the equation. I have no idea what to write where it says 'factors' or what to write where it says [x:x+n]
Here's a screenshot of my R studio data set at the moment Please click the link for imgur below to see what data I'm dealing with. Also please keep in mind I don't know much technical language so layman terms would be very helpful for me. Thank you!