join.freq {agricolae} | R Documentation |
In many situations it is required to join classes because of the low frequency in the intervals. In this process, it is required to join the intervals and ad the frequencies of them.
join.freq(breaks, join)
breaks |
Class intervals |
join |
vector |
breaks |
vector numeric |
join |
numeric |
Felipe de Mendiburu
polygon.freq
, table.freq
, stat.freq
,
intervals.freq
, sturges.freq
, graph.freq
,
ojiva.freq
, normal.freq
library(agricolae) data(natives) attach(natives) class<-sturges.freq(size) # information of the classes class breaks <- class$breaks # list classes intervals.freq(breaks) # Table frecuency h1<-hist(size,breaks,plot=FALSE) table.freq(h1) # Join classes 9 and 10 with little frequency. inter<-join.freq(breaks,9:10) # new table h2<-hist(size,breaks=inter,xlim=c(0,0.12),col="bisque") table.freq(h2)