R/utils.R

Defines functions replace_colon

#' Somehow stan does not support : in variable names thus we have to replace it with _.
#' @keywords internal
#' @noRd
replace_colon = function(var){
  return(stringr::str_replace_all(var, ":", "_"))
}

Try the RegDDM package in your browser

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

RegDDM documentation built on April 3, 2025, 7:45 p.m.