File: getParamSet.R

package info (click to toggle)
r-cran-paramhelpers 1.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 992 kB
  • sloc: ansic: 102; sh: 13; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 324 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#' @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")
}