R/gate_utils.R

Defines functions .standardize_gate_columns

#' @title Standardize GATE Column Names
#' @description Internal helper to rename bootstrap GATE columns to the
#'   unified format used by the plotting functions.
#' @keywords internal
.standardize_gate_columns <- function(nms, effect_col) {
    nms[nms == effect_col]         <- "ME"
    nms[nms == "SE"]               <- "sd"
    nms[nms == "CI.lower"]         <- "lower CI(95%)"
    nms[nms == "CI.upper"]         <- "upper CI(95%)"
    nms[nms == "CI.lower.uniform"] <- "lower uniform CI(95%)"
    nms[nms == "CI.upper.uniform"] <- "upper uniform CI(95%)"
    nms
}

Try the interflex package in your browser

Any scripts or data that you put into this service are public.

interflex documentation built on April 14, 2026, 5:10 p.m.