R/prep_contour_params.R

Defines functions prep_contour_params

Documented in prep_contour_params

#' Prepare contour plot parameters
#' Additional to ceplane parameters
#' @template args-he
#' @param ... Additional parameters
#' @return A list of parameters
#' @keywords internal
#' 
prep_contour_params <- function(he, ...) {
  
  contour_params <- list(...)
  ceplane_params <- prep_ceplane_params(he, wtp_params = 1e7, ...)
  
  default_params <-
    modifyList(ceplane_params,
               list(scale = 0.5,
                    nlevels = NULL,
                    levels = c(0.25, 0.5, 0.75, 0.95)))
  modifyList(default_params, contour_params)
}

Try the BCEA package in your browser

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

BCEA documentation built on April 4, 2025, 4:19 a.m.