xmu_equate_threshold_values | R Documentation |
This function sets the threshold values for multiple columns in a model to be equal to the threshold values of the first specified column. It is useful in contexts where consistent threshold values are needed across different variables for statistical modeling.
xmu_equate_threshold_values(model, x_cols)
model |
A model object that contains threshold values in its 'deviations_for_thresh' slot. |
x_cols |
A character vector specifying the names of the columns whose thresholds will be equated. |
The modified model object with equated threshold values across the specified columns.
## Not run:
# Assumes `my_model` is a previously defined threshold model
# and has columns "var1", "var2", and "var3" in deviations_for_thresh$values
updated_model = xmu_equate_threshold_values(my_model, x_cols = c("var1", "var2", "var3"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.