R/getParamSet.R

Defines functions getParamSet

Documented in getParamSet

#' @title Get parameter set.
#'
#' @description `getParamSet` is a generic and can be called to extract the
#' `ParamSet` from different objects.
#'
#' @param x (`object`) \cr
#'   Object to extract the ParamSet from.
#' @return [ParamHelpers::ParamSet()]
#' @export
getParamSet = function(x) {
  UseMethod("getParamSet")
}

Try the ParamHelpers package in your browser

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

ParamHelpers documentation built on July 4, 2022, 5:07 p.m.