Displaying 1 result from an estimated 1 matches for "rank1b".
Did you mean:
rank1
2012 Jun 14
0
Complex summary of counts of rank positions over multiple dataframes
...1,1,0,0)
rank4a <- c(0,0,1,1,0,0,1)
result_a <- data.frame(uniquevars,rank1a,rank2a,rank3a,rank4a)
In addition I would like to have for all populated 'cells' of the
result_a-dataframe the sum of the all 'values' from the original dataframes
instead of the counts.
Like:
rank1b <- c(34,24,0,0,0,0,0)
rank2b <- c(6,20,0,0,0,0,0)
rank3b <- c(0,0,4,5,4,0,0)
rank4b <- c(0,0,3,2,0,0,2)
result_b <- data.frame(uniquevars,rank1b,rank2b,rank3b,rank4b)
Is there any common procedure to get counts of ranks for multiple dataframes?
Has anyone done similar th...