| quantile.lvec | R Documentation | 
Calculate the quantiles of an lvec
## S3 method for class 'lvec' quantile( x, probs = seq(0, 1, 0.25), names = TRUE, na.rm = TRUE, true_probs = FALSE, ... )
| x | an object of type  | 
| probs | a numeric vector with probabilities ([0,1]). | 
| names | add names to the result vector. | 
| na.rm | remove missing values before calculating the quantiles | 
| true_probs | add an attribute with the probabilities at the chosen pivots. | 
| ... | ignored. | 
This function uses a more simple method than that used by the regular 
quantile method. It sorts the vector (using 
partial_sort for speed) and selects elements from x 
that correspond to the given probabilities. For example, when x has 
length of 11 and prob equal to 0.5, it selects the 6th element from 
the (partially) sorted x. For large enough vectors this is a 
reasonable approach.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.