Displaying 1 result from an estimated 1 matches for "sintesiquery".
2004 May 13
2
tapply & hist
...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
the titles and the xlab labels i...