[R] Odp: re ad.table
Petr PIKAL
petr.pikal at precheza.cz
Mon Apr 6 14:37:19 CEST 2009
Hi
r-help-bounces at r-project.org napsal dne 06.04.2009 11:54:27:
>
> Hi,
> I ve been searching a lot in internet..but I can t find a solution
> Attached, you find a file.
> I need for each (Materiale, tpdv, UM) to find sum,avg and count
> My idea was to aggregate for the 3 parameters ..but I don t know how to
get
> the numeric value (SUM,COUNT,AVG) I need.
?sum
?mean
?length
Aggregate works with one value only but you can try doBy package or
split/lapply approach.
Regards
Petr
> Can you help me?
> thank you
>
> http://www.nabble.com/file/p22905601/ordini2008_ex.txt ordini2008_ex.txt
> --
> View this message in context:
http://www.nabble.com/read.table-tp22905601p22905601.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list