compute_quantiles: Compute quantiles for specified 'variable' grouping by 'ids'...

Description Usage Details

View source: R/support-density_estimation.R

Description

If lengths(probs)==1, then "Ordinates for Probability Plotting" with 'probs' probability points are used.

Usage

1
2
compute_quantiles(data, ids, variable, probs = ppoints(1000),
  min_count = 15)

Details

Returns data.frame with the following columns ids, probs, quantiles, counts

# for example: q <- compute_quantiles(f, c("id_col1", "id_col2"), "var")

ggplot(q) + geom_line(aes(x=quantiles*180/pi, y=probs))


momeara/RosettaFeatures documentation built on May 22, 2017, 12:04 p.m.