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")
}
mlr-org/ParamHelpers documentation built on Dec. 23, 2024, 10:53 p.m.