Hello, I am very new to R. I would like to calculate a mean for a variable which is limited to a specific group of data which are defined by their values within another variable in the data set. How could I do this?
for example: "head_circ" in individuals whom are only in in "exp_group" 3
Thanks for any advice