Description Usage Arguments Value Examples
Useful for R Markdown reports
1 2 |
x |
numeric vector to calculate quantile with |
probs |
numeric vector of probabilities to use for quantile |
na.rm |
logical, pass to quantile function |
names |
logical, pass to quantile function |
type, |
number, pass to quantile function |
colname, |
character, name of variable column in output |
round, |
integer, number of digits to round quantile value.
passed to |
prettified data.frame of probabilities
1 2 3 4 | quantile_df(mtcars$mpg, seq(0,1,.1))
quantile_df(mtcars$mpg, seq(0,1,.1), names=T)
quantile_df(mtcars$mpg, seq(0,1,.2), colname='mpg')
quantile_df(mtcars$mpg, round=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.