validate.labeled.param.value {AnalysisPageServer} | R Documentation

## validate.labeled.param.value

### Description

Validate a labeled AnalysisPageParam value

### Usage

    validate.labeled.param.value(app, val, transform.labeled = FALSE)

### Arguments

`app` | AnalysisPageParam
`val` | Candidate value
`transform.labeled` | Logical. See details.

### 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.

### Value

Candidate value, possibly transformed into list.

### Author(s)

Brad Friedman

[Package AnalysisPageServer version 1.18.1 Index]