R/helper_functions.R

Defines functions remove_names `%-%` `%.%`

`%.%` = function(a, b) {
  paste0(a, b)
}

`%-%` = function(a, b, sep) {
  paste0(a, b, collapse=sep)
}

remove_names = function(object) {
  names(object) = NULL
  return(object)
}
dustinfife/flexforest documentation built on Jan. 30, 2024, 6:05 p.m.