Description Usage Arguments Details Value Examples
View source: R/Get_quantile_rank.R
Stratify each column of data using quantile values.
1 |
df |
S numeric dataframe |
The generic function get_quantile_rank stratifies each column of a numeric data frame or matrix based on quartile or median values of its distribution. By default, quartile values will be used to stratify data into groups 1,2,3 and 4, with 1 representing the group with values below the first quartile and 4 representing the group with values higher than the fourth quantile. When there are duplication in quartile values, median values will be automatically used for stratification. In this case data will be divided into two groups with group 1 containing values lower than or equal to the median and group 4 containing values higher than median respectively.
A numeric dataframes with quartile ranking group IDs
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.