df2qqs | R Documentation |
This function ranks numeric data into categories such as high, medium and low based on quantiles. Values lower than q1 (first quantile) are classified as low Values greater than q3 (third quantile) are classified as high Values between q1 and q3 are classified as medium
df2qqs(data, vars = c(), qq = 3, params = NULL)
data |
a data.frame with the dataset to be transformed |
vars |
numeric columns in which perform the ranking numeric data based on quantiles |
qq |
numeric value 2, 3 to define if the transformation will be carried out in lower/upper, low/medium/high |
params |
a list with the pairs list(var = var, qq = qq) parameters to be employed for the transformation |
A data.frame containing the ranking data based on quantiles for the columns indicated in the vars argument
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.