polygon.freq: The polygon of frequency on the histogram

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
polygon.freq(histogram, frequency=1, ...)

Arguments

histogram

Object constructed by the function hist

frequency

numeric, counts(1), relative(2) and density(3)

...

Other parameters of the function hist

Value

histogram

Object

frecuency

1=counts, 2=relative, 3=density

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(agricolae)
data(growth)
#startgraph
h1<-with(growth,hist(height,border=FALSE,xlim=c(6,14)))
polygon.freq(h1,frequency=1,col="red")
#endgraph
#startgraph
h2<-with(growth,graph.freq(height,frequency=2,col="yellow",xlim=c(6,14)))
polygon.freq(h2,frequency=2,col="red")
#endgraph


Search within the agricolae package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.