powered by
Weighted empirical cumulative distribution function (data frame version)
Fhat_df_(.data, x, weights)
a data frame
name of the numeric column (as character)
name of the weight column (as character)
a data frame with columns: x, wcum and Fhat
# NOT RUN { data(invented_wages) Fhat_df_(invented_wages, "wage", "sample_weights") # }
Run the code above in your browser using DataLab