0

I want to calculate row wise medians with conditions in R. Anyone knows how can I do it? Example Data set:

Col1 Col2 Col3 Median
A      x      1
B      x      2
A      y      2
A      y      3
B      x      2
B      x      1

For instance, I want to calculate that medians by row wise like Col1 is and Col2 is same with the row.

Gregor Thomas
  • 136,190
  • 20
  • 167
  • 294

0 Answers0