You can use ecdf from StatsBase, which takes an abstract vector and returns a function. You can plot that function with Gadfly's function plotting <https://github.com/dcjones/Gadfly.jl#functions-and-expressions> interface.
For example, to plot the ecdf of 10 uniform [0,1] random variables: using StatsBase, Gadfly plot(ecdf(rand(10)), 0, 1) On Monday, July 28, 2014 2:06:37 PM UTC-7, John Myles White wrote: > > I'm not aware of any such function. Are you talking about the ecdf() > function that comes with base R? > > -- John > > On Jul 28, 2014, at 2:05 PM, Darf Ferrara <[email protected] <javascript:>> > wrote: > > > I'm looking for something like ecdf() in ggplot2. > >
