Relative Content

Tag Archive for rsortingfor-looptapplyset-difference

Sorting columns and adding new variables using setdiff in R

I am a researcher and R novice working with a large dataset consisting of many small excel files to be read together. I have imported these into R using the read_excel functions and have them all in a large table, but am running into issues trying to format the data appropriately for analysis.