Displaying 1 result from an estimated 1 matches for "exposure_male".
Did you mean:
exposure_female
2013 May 17
0
Mean using different group for a real r beginner
...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 simple calculation, it'll be
quite unhelpful fo...