Say I have three lists, each one containing the result of a test:
listA <- list(10, 5, 4)
listB <- list(2, 8, 3)
listC <- list(1, 5, 3)
I want to find the median of those lists by position vertically. So the results for each position would be:
- First position: 2
- Second position: 5
- Third position: 3
How can I achieve this in R? Thanks in advance.