ogive.freq | R Documentation |
It plots the cumulative relative .frequencies with the intervals of classes defined in the histogram.
ogive.freq(histogram,type="",xlab="",ylab="",axes="",las=1,...)
histogram |
object created by the function hist() or graph.freq() |
type |
what type of plot should be drawn. See plot() |
xlab |
x labels |
ylab |
y labels |
axes |
TRUE or FALSE |
las |
values 0,1,2 and 3 are the axis styles. see plot() |
... |
Parameters of the plot() |
Ogive points.
Felipe de Mendiburu
polygon.freq
, table.freq
, stat.freq
,
inter.freq
, sturges.freq
, join.freq
,
graph.freq
, normal.freq
library(agricolae)
data(growth)
h<-graph.freq(growth$height,plot=FALSE)
points<-ogive.freq(h,col="red",frame=FALSE,
xlab="Height", ylab="Accumulated relative frequency", main="ogive")
plot(points,type="b",pch=16,las=1,bty="l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.