R/utils.R

Defines functions get_call_arg_with_defaults

get_call_arg_with_defaults <- function(.f, call, arg) {
  defaults <- formals(.f)
  if(is.null(call[[arg]])) {
    defaults[[arg]]
  } else {
    call[[arg]]
  }
}

Try the conformalForecast package in your browser

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

conformalForecast documentation built on Nov. 5, 2025, 6:01 p.m.