summarize quantiles for a column
s_quantiles_(.data, x, probs, na_rm = TRUE) s_quantiles(.data, x, probs, na_rm = TRUE)
.data | data frame |
---|---|
x | column to calculate quantiles for |
probs | probabilities to calculate quantiles for |
na_rm | remove na's before calculating value for quantile |
#> # A tibble: 24 x 5 #> # Groups: Gender [?] #> Gender Time Conc_q5 Conc_q50 Conc_q95 #> <fct> <dbl> <dbl> <dbl> <dbl> #> 1 Female 0 0 0 0 #> 2 Female 0.25 8.27 19.6 40.9 #> 3 Female 0.5 16.5 30.3 62.6 #> 4 Female 1 25.8 47.5 109. #> 5 Female 2 36.3 48.5 105. #> 6 Female 3 36.8 50.8 95.8 #> 7 Female 4 27.5 48.9 107. #> 8 Female 6 18.8 35.1 81.0 #> 9 Female 8 16.2 27.7 66.7 #> 10 Female 12 5.34 24.8 59.6 #> # ... with 14 more rows