View source: R/calculate_quantilethresperc.R
calculate_quantilethresperc | R Documentation |
This function calculates the quantile threshold percentages based on the input data. Warning: roxygen documentation generated by chatgpt
calculate_quantilethresperc(
data,
group_var,
thres_var = "Spacer",
thresname_var = "NT-3",
value_var,
quantilethres_var = "0.05",
round_var = 1
)
data |
A data frame containing the input data. |
group_var |
A character vector specifying the grouping variable(s). |
thres_var |
A character vector specifying the threshold variable (default is 'Spacer'). |
thresname_var |
A character vector specifying the threshold name variable (default is 'NT-3'). |
value_var |
A character vector specifying the value variable. |
quantilethres_var |
A character vector specifying the quantile threshold variable (default is '0.05'). |
round_var |
An integer specifying the number of decimal places to round the percentages (default is 1). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.