on-internet
← Community

plot ranked data against two different rankings

Stack Overflow ·

I have data that has a numerical "ranking" (just numbered 1-11) but I have two dataframes, "personal" and "global", where the that data is ranked differently from each other. I want to plot the personal ranking against the global ranking to see how closely they match (i.e. are the rankings the same and would form a line or are they different) I have the data combined into one dataframe that looks like this df <- data.frame( hierarchy = c("personal", "personal", "personal", "global", "global", "global"), rank = c(1,2,3,1,2,3), ID = c("BOB", "BPP", "OGO", "OGO", "BPP", "BOB") ) I'd like both the

Comments

Sign in or sign up to comment and upvote.

No comments yet.