powered by
Cumulative distribution function for a subset of the dataset
Fd(y, data, group = "qtyvar", newwts = "newwts")
Cumulative distribution percentile for quantile y
cumulative distribution quantile
dataset with defined group and newwts columns
variable of interest
sampling weights
df_samp <- data.frame(qtyvar = rnorm(1000, mean = 5, sd = 2),newwts = rep(1, 1000)) Fd(3.5,df_samp) # Finds the percentile for 3.5 in simulated data.
Run the code above in your browser using DataLab