It finds the absolute, relative and accumulated frequencies with the class intervals defined from a previously calculated histogram by the "hist" of R function.
table.freq(object)
object | Object by function graph.freq() |
---|
Frequency table.
Lower limit class
Upper limit class
class point
Frequency
Percentage frequency
Cumulative frequency
Cumulative Percentage frequency
polygon.freq
, stat.freq
,
graph.freq
, intervals.freq
,
sturges.freq
, join.freq
,
ogive.freq
, normal.freq
library(agricolae) data(growth) h2<-with(growth,graph.freq(height,plot=FALSE)) print(table.freq(h2),row.names=FALSE)#> Lower Upper Main Frequency Percentage CF CPF #> 6.0 7.2 6.6 1 3.3 1 3.3 #> 7.2 8.4 7.8 0 0.0 1 3.3 #> 8.4 9.6 9.0 4 13.3 5 16.7 #> 9.6 10.8 10.2 8 26.7 13 43.3 #> 10.8 12.0 11.4 11 36.7 24 80.0 #> 12.0 13.2 12.6 6 20.0 30 100.0