Learn R Programming

agricolae (version 1.0-4)

intervals.freq: Class intervals

Description

List class intervals.

Usage

intervals.freq(breaks)

Arguments

breaks
class intervals

Value

  • breaksvector numeric

See Also

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

Examples

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

Run the code above in your browser using DataLab