View source: R/hasExpression.R
hasExpression | R Documentation |
Checks if a parameter, parameter set or list of parameters contain expressions.
hasExpression(obj)
obj |
( |
logical(1)
.
ps1 = makeParamSet( makeNumericParam("x", lower = 1, upper = 2), makeNumericParam("y", lower = 1, upper = 10) ) ps2 = makeParamSet( makeNumericLearnerParam("x", lower = 1, upper = 2), makeNumericLearnerParam("y", lower = 1, upper = expression(p)) ) hasExpression(ps1) hasExpression(ps2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.