pull {rpact} | R Documentation |
Extract a single parameter
Description
Fetch a parameter from a parameter set.
Usage
pull(x, var, output)
## S3 method for class 'ParameterSet'
pull(x, var = -1, output = c("named", "value", "list"))
obtain(x, var, output)
## S3 method for class 'ParameterSet'
obtain(x, var = -1, output = c("named", "value", "list"))
fetch(x, var, output)
## S3 method for class 'ParameterSet'
fetch(x, var = -1, output = c("named", "value", "list"))
Arguments
x |
The |
var |
A variable 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.0.0 Index]