validate.param.value {AnalysisPageServer} | R Documentation

## validate.param.value

### Description

Validate a parameter value for an AnalysisPageParam

### Usage

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

### Arguments

`app` | AnalysisPageParam
`val` | Candidate value
`transform.labeled` | Logical. Should the parameter value be transformed if necessary to have the `list(v=value, r=readable.value)` format?

### Details

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.

### Value

The candidate value, possibly transformed. Throws error if the value is invalid.

### Author(s)

Brad Friedman

### Examples

    sp <- simple.param("foo")
    validate.param.value(sp, 3)

[Package AnalysisPageServer version 1.21.0 Index]