Displaying 1 result from an estimated 1 matches for "ewcdf".
Did you mean:
ecdf
2012 Oct 08
1
weighted cumulative distribution with ggplot2
Dear all,
I am trying to draw a weighted cumulative distribution (as defined
here http://rss.acs.unt.edu/Rdoc/library/spatstat/html/ewcdf.html)
with ggplot2
however the syntax
temp<-qplot(X,weight=weight,data=data,stat = "ecdf", geom =
"step",colour=factor(year))
seems not to produce exactly the right figure (the values seems higher
at some points)... I am wrong in the weight definition?
The data is like th...