Median in R per participant for a specific variable


New Member
I am currently working on the data from my research. Before I can run the analysis I need to find the median for a specific variable per participant.
My data set consists of all the trials per participant and per trial there is data of that specific variable.

How can I calculate the median for each participant?


Last edited: