quantile_emu | R Documentation |
This function allows you to calculate the quantile position from a variable in a dataframe
quantile_emu(
df,
var,
min.seq,
max.seq,
by,
labels,
labels.mark,
include.lowest
)
df |
The dataframe containing the EMU information. |
var |
The column name of the variable to calculate the quantile position. |
min.seq |
The minimum value to compute the probablities of the quantile (default to 0) |
max.seq |
The maximum value to compute the probablities of the quantile (default to 1) |
by |
The interval to compute the probabilities calculation (default to 0.25 for 4 quartiles) |
labels |
Logical. If labels should be calculated, instead of the brackets position |
labels.mark |
Interval. Labels for the quartiles calculated depending on the intervals used as inputs (default 1:4) |
include.lowest |
Logical. If lowest value from the interval should be included |
The column with the quartile computed
quantile_emu(bd, var = value)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.