Learn R Programming

ParamHelpers (version 1.1-36)

getLower: Get lower bounds for numerical / integer parameters.

Description

Get lower bounds for numerical / integer parameters.

Usage

getLower(par.set)

Arguments

par.set
[ParamSet] Parameter set.

Value

  • Numeric vector of lower bounds. The lower bounds are all concatenated and the vector is named by the parameter names with getParamIds(..., repeated=TRUE, with.nr=FALSE).

Examples

Run this code
ps <- makeParamSet(
  makeNumericParam("u"),
  makeIntegerParam("v", lower=1, upper=2),
  makeDiscreteParam("w", values=1:2),
  makeNumericVectorParam("x", len=2, lower=c(0, 10), upper=c(1, 11))
)
getLower(ps)

Run the code above in your browser using DataLab