validate.param.value {AnalysisPageServer} | R Documentation |
Validate a parameter value for an AnalysisPageParam
validate.param.value(app, val, transform.labeled = FALSE)
app |
AnalysisPageParam |
val |
Candidate value |
transform.labeled |
Logical. Should the parameter value be transformed
if necessary to have the |
This function dispatches to the type-specific validator.
transform.labeled
is passed on only if that validator accepts
such an argument. This should be just combobox and select types,
and indicates that the parameter value should be transformed to have the
list(v=value, r=readable.value)
format.
The candidate value, possibly transformed. Throws error if the value is invalid.
Brad Friedman
sp <- simple.param("foo") validate.param.value(sp, 3)