Displaying 1 result from an estimated 1 matches for "kumul".
Did you mean:
umul
2011 Jul 14
2
Add a density line to a cumulative histogram - second try
...n watch a picture of the histograms here:
http://www.jochen-bauer.net/downloads/histo-cumulative-density.png
Source:
# Histogramm
histo <- hist( hgd$V1, freq=FALSE )
# Dichte-Sch?tzer-Funktion reinzeichnen
denspoints <- density( hgd$V1 )
lines( denspoints, col="GREEN", lwd=2 )
# Kumulative Verteilung relativer H?ufigkeiten
relcum <- cumsum( histo$counts ) / sum(histo$counts)
barplot( relcum, names.arg=round( histo$mids, 2), col="green",
ylab="Wahrscheinlichkeit")
# Kumulative Dichtefunktion ?
Thanks in advance - Jochen
--
View this message in context: h...