Skip to content

re ad.table

2 messages · calpeda, PIKAL Petr

#
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.
Can you help me?
thank you

http://www.nabble.com/file/p22905601/ordini2008_ex.txt ordini2008_ex.txt
#
Hi

r-help-bounces at r-project.org napsal dne 06.04.2009 11:54:27:
get
?sum
?mean
?length

Aggregate works with one value only but you can try doBy package or 
split/lapply approach.

Regards
Petr
http://www.nabble.com/read.table-tp22905601p22905601.html
http://www.R-project.org/posting-guide.html