[R] Re: Sum by categorical variable
Mahmood ARAI
ma at ne.su.se
Tue May 6 16:59:06 CEST 2003
De Amicis Fabrizio (G.I.T.) writes:
> Dear R-list,
> I have two variables (numerical and categorical) and would like to have the
> sum (and maybe some other statistics) of the numerical variable by the
> categorical one.
> Can you help me,
> Thank you,
> Fabrizio
>
>
> ---------------------------------------------------------------
> Fabrizio De Amicis
>
> IT Department
> Generali Information Technologies - (GIT)
>
> Centro Galleria 2,
> Via Cantonale
> CH - 6928 Manno - Switzerland
> Tel +41 91 806 6220
> Fax +41 91 806 6298
> E-mail: fabrizio.deamicis at git.generali.ch
>
>
>
>
> ************************************************************************
> The information in this email is confidential and may be legally... {{dropped}}
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
ave is what your are looking for.
See ?ave.
mahmood arai
http://www.ne.su.se/~ma
More information about the R-help
mailing list