Hello guys
I have two data sets, each contains ID collum and a grade collum. Each has same number of values and same ID's. Im trying to calculate a Pearson between them, but i cant figure out how to sort the data so it matches two grades for each ID.
The ID's are not sorted in the same order, and by using "group by" or "sort" i cant seem to crack this one down.
βTo understand computations in R, two slogans are helpful: Everything that exists is an object. Everything that happens is a function call.β
β John M. Chambers [https://arxiv.org/abs/1409.3531]