Cumulative distribution function in r. Is there something similar to hist () in R...