I want to make a simple table that showcases the largest 10 values for a given variable in my dataset, as well as 4 other variables for each observation, so basically a small su
This should do it...
data <- data[with(data,order(-Score)),]
data <- data[1:10,]