Displaying 1 result from an estimated 1 matches for "rank4a".
Did you mean:
rank4
2012 Jun 14
0
Complex summary of counts of rank positions over multiple dataframes
...osition and 1 time on the second rank etc.
A resulting dataframe could look like:
uniquevars <- c("A","B","C","D","G","J","K")
rank1a <- c(2,1,0,0,0,0,0)
rank2a <- c(1,2,0,0,0,0,0)
rank3a <- c(0,0,1,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...