ds_percentiles | R Documentation |
Returns the percentiles
ds_percentiles(data, ..., decimals = 2)
data |
A |
... |
Column(s) in |
decimals |
An option to specify the exact number of decimal places to use. The default number of decimal places is 2. |
# single column
ds_percentiles(mtcarz, mpg)
# multiple columns
ds_percentiles(mtcarz, mpg, disp)
# all columns
ds_percentiles(mtcarz)
# vector
ds_percentiles(mtcarz$mpg)
# vectors of different length
disp <- mtcarz$disp[1:10]
ds_percentiles(mtcarz$mpg, disp)
# decimal places
ds_percentiles(mtcarz, disp, hp, decimals = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.