pctile | R Documentation |
This function calculates 100 percentiles of a vector and returns all of them.
pctile(x)
x |
A vector. |
This function just shorthand for quantile(x,1:100/100)
, with a shorter name for reference in the vtable
or sumtable
summ
option, and which works with sumtable
summ.names
styling.
x <- 1:500
pctile(x)[50]
quantile(x,.5)
median(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.