setHparOptions {hpar} | R Documentation

## Sets the 'hpar' options

### Description

Function used to set the `hpadata` `hpar` option.

### Usage

    setHparOptions(hpadata = allHparData())

### Arguments

`hpadata` | A `character` defining the default data to be queries. Choices are any of available `hpar` datasets, available by calling `allHparData`, or any unambiguous prefix.

### Value

Returns the set value of the `hpar` option. Used for its side effect.

### Author(s)

Laurent Gatto

### Examples

    oldOpt <- getHparOptions()
    oldOpt$hpadata
    setHparOptions("hpaNormalTissue")
    getHparOptions()
    setHparOptions(oldOpt$hpadata)

[Package hpar version 1.22.2 Index]