polygon.freq {agricolae}R Documentation

The polygon of frequency on the histogram

Description

The polygon is constructed single or on a histogram. It is necessary to execute the function previously hist.

Usage

polygon.freq(histogram, ...)

Arguments

histogram Object constructed by the function hist
... Other parameters of the function hist

Value

histogram Object

Author(s)

Felipe de Mendiburu Delgado

See Also

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

Examples

library(agricolae)
data(growth)
attach(growth)
#startgraph
h1<-hist(height,border=FALSE,xlim=c(6,14))
polygon.freq(h1,col="red")
#endgraph
#startgraph
h2<-hist(height,col="yellow",xlim=c(6,14))
polygon.freq(h2,col="red")
#endgraph

[Package agricolae version 1.0-4 Index]