Displaying 1 result from an estimated 1 matches for "ngruppo".
Did you mean:
gruppo
2004 May 13
2
tapply & hist
...e capacities of power plants and SGruppo - text
- the corresponding six technologies ("CCC", "CIC","TGC", "CSC","CPC", "TE").
.....................................................
dati=sqlQuery(canale,"select Id,SGruppo,Classe, NGruppo,ProdNetta,Pot from
SintesiQuery")
attach(dati)
# Grouping by technology
tapply(Pot,SGruppo,sum)
...................................
# Histograms by technology
par(mfrow=c(2,3))
tapply(Pot,SGruppo,hist)
detach(dati)
It all works great but tapply(Pot,SGruppo,hist) produces 6 histograms with...