By this process the variance and central measures ar found: average, medium and mode of grouped data.
stat.freq(histogram)
| histogram | Object create by function hist() |
|---|
Statistics of grouped data.
polygon.freq, table.freq,
graph.freq, intervals.freq,
sturges.freq, join.freq,
ogive.freq, normal.freq
library(agricolae) data(growth) grouped<-with(growth,hist(height,plot=FALSE)) measures<-stat.freq(grouped) print(measures)#> $variance #> [1] 1.954023 #> #> $mean #> [1] 10.83333 #> #> $median #> [1] 11 #> #> $mode #> [- -] mode #> [1,] 10 11 11 #> [2,] 11 12 11 #>