R: Class intervals

intervals.freq {agricolae} | R Documentation

## Class intervals

### Description

List class intervals.

### Usage

    intervals.freq(x)

### Arguments

`x` | class graph.freq, histogram or numeric

### Value

`classes` | matrix numeric

### Author(s)

Felipe de Mendiburu

### See Also

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

### Examples

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

[Package agricolae version 1.2-6 Index]