Learn R Programming

agricolae (version 1.0-4)

ojiva.freq: Plotting the ojiva from a histogram

Description

It plots the cumulative relative frequencies with the intervals of classes defined in the histogram.

Usage

ojiva.freq(histogram, ...)

Arguments

histogram
object created by the function hist()
...
Parameters of the hist()

Value

  • histogramObject
  • ...

See Also

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

Examples

Run this code
library(agricolae)
data(growth)
attach(growth)

#startgraph
h1<-hist(height,plot=FALSE)
points<-ojiva.freq(h1,type="l",col="red",frame=FALSE,
xlab="Limit of class", ylab="Accumulated relative frequency", main="ojiva")
grid(col="black")
#endgraph
print(points)

Run the code above in your browser using DataLab