I have the table company: 1 2 3 4 5 6 7 8 9 10 11 transaction volume:120 40 75 85 55 75 55 90 90 55 155 how can I plot the empirical distribution function of it? I only know there is the ecdf, but I dont know how to use it, please help! -- View this message in context: http://r.789695.n4.nabble.com/how-to-plot-empirical-distribution-function-tp3089821p3089821.html Sent from the R help mailing list archive at Nabble.com.
I got it so far, but dont know if its right:> x=c(120,40,75,85,55,75,55,90,90,55,155) > Fn <- ecdf(x) > plot(Fn,verticals = TRUE, ? >-- View this message in context: http://r.789695.n4.nabble.com/how-to-plot-empirical-distribution-function-tp3089821p3089845.html Sent from the R help mailing list archive at Nabble.com.