Fhat_df_: Weighted empirical cumulative distribution function (data...

Description Usage Arguments Value Examples

View source: R/Fhat_conditional.R

Description

Weighted empirical cumulative distribution function (data frame version)

Usage

1
Fhat_df_(.data, x, weights)

Arguments

.data

a data frame

x

name of the numeric column (as character)

weights

name of the weight column (as character)

Value

a data frame with columns: x, wcum and Fhat

Examples

1
2
data(invented_wages)
Fhat_df_(invented_wages, "wage", "sample_weights")

distrr documentation built on July 14, 2020, 5:06 p.m.