obtain {rpact} | R Documentation |
Extract a single parameter
Description
Fetch a parameter from a parameter set.
Usage
obtain(x, ..., output)
## S3 method for class 'ParameterSet'
obtain(x, ..., output = c("named", "labeled", "value", "list"))
fetch(x, ..., output)
## S3 method for class 'ParameterSet'
fetch(x, ..., output = c("named", "labeled", "value", "list"))
Arguments
x |
The |
... |
One or more variables specified as:
|
output |
A character defining the output type as follows:
|
Examples
## Not run:
getDesignInverseNormal() |> fetch(kMax)
getDesignInverseNormal() |> fetch(kMax, output = "list")
## End(Not run)
[Package rpact version 4.2.0 Index]