I have a large dataframe and several columns are full of NAs.
Basically got a "score and class differ in length" error message in a function that doesn't support na.rm, so I want to create two new vectors from the dataframe to use for the function. One vector without the NAs, and the next vector without the corresponding values from the first.
How would I do this?