Constructs the empirical CDF, F, for a set of observations, x, and returns F(x).
ecdf_cpp(x)
x
The observation to construct the empirical CDF from.
Returns the values for F(x).