Learn R Programming

agricolae (version 1.3-7)

inter.freq: Class intervals

Description

List class intervals.

Usage

inter.freq(x)

Value

It show interval classes.

Arguments

x

class graph.freq, histogram or numeric

Author

Felipe de Mendiburu

See Also

polygon.freq, table.freq, stat.freq, graph.freq, sturges.freq, join.freq, ogive.freq, normal.freq

Examples

Run this code
library(agricolae)
# example 1
data(growth)
h<-hist(growth$height,plot=FALSE)
inter.freq(h)
# example 2
x<-seq(10,40,5)
y<-c(2,6,8,7,3,4)
inter.freq(x)
histogram <- graph.freq(x,counts=y)

Run the code above in your browser using DataLab