Description Usage Arguments Value Functions See Also Examples
quartiles
returns the quartiles, deciles
return the deciles, and percentiles
returns the percentiles with a resolution of 0.01
.
1 2 3 4 5 |
x |
numeric vector whose sample quantiles are wanted, or an
object of a class for which a method has been defined (see also
‘details’). |
na.rm |
logical; if true, any |
names |
logical; if true, the result has a |
type |
an integer between 1 and 9 selecting one of the nine quantile algorithms detailed below to be used. |
... |
further arguments passed to or from other methods. |
Returns the quartiles of x
.
deciles
: Returns the deciles of x
.
percentiles
: Returns the percentiles of x
.
stats::quantile()
1 2 3 4 | x <- rnorm(10)
quartiles(x)
deciles(x)
percentiles(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.