Description Usage Arguments Details Value Author(s)
View source: R/validate.param.list.R
Validate a labeled AnalysisPageParam value
1 | validate.labeled.param.value(app, val, transform.labeled = FALSE)
|
app |
AnalysisPageParam |
val |
Candidate value |
transform.labeled |
Logical. See details. |
Validate a labeled AnalysisPageParam value. Currently the labeled param types are "combobox" and "select".
Unnamed scalars are OK and named scalars are also OK.
If the scalar is unnamed then its own name will be applied: names(val) <- val
.
If transform.labeled
is set then instead of returning
the candidate value as-is, it is transformed into
list(v=real.value, r=readable.value)
.
If $allow.multiple == TRUE
then length(val) > 1
is OK.
The encoding is simply list(v=real.values, r=readable.values)
,
where real.values
and readable.values
are equal-length vectors.
Candidate value, possibly transformed into list.
Brad Friedman
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.