R: Gets a parameter

getParameter.HttpRequest {R.rsp} | R Documentation

## Gets a parameter

### Description

Gets a parameter.

### Usage

    ## S3 method for class 'HttpRequest'
    getParameter(this, name, default=NULL, drop=TRUE, ...)

### Arguments

`name` | Name of parameter to be retrieved.
`default` | Value to be returned if parameter is missing.
`drop` | If `TRUE` and the number of returned values is one, then this single value is returned, otherwise a named `vector`.
`...` | Additional arguments passed to `*getParameters()`.

### Value

Returns the value(s) of the parameter either as a single value or as a named `list`. If the parameter does not exist, the default value is returned as is.

### Author(s)

Henrik Bengtsson

### See Also

`*hasParameter()`. `*getParameters()`. For more information see `HttpRequest`.

[Package R.rsp version 0.41.0 Index]