search for: tolerance_male

Displaying 1 result from an estimated 1 matches for "tolerance_male".

2013 May 17
0
Mean using different group for a real r beginner
...a/tolerance1.txt") > >RIght now, I'm able to calculate the mean of the variable exposure. However, I'm unable to find a parsimonious way of obtaining the mean of >exposure, separately for male == 0 and male == 1. The only solution I have, for the moment, is: > > >tolerance_male = tolerance [male ==0, c (1:8)] >exposure_male = tolerance_male$exposure >mean (tolerance_male$exposure) > > >tolerance_female = tolerance [male ==1, c (1:8)] >exposure_female = tolerance_female$exposure >mean (exposure_female) > >While this method work well for a s...