Description Usage Arguments Value Examples
View source: R/GetParamInfoFromAdjustSpec.R
Extract parameters from an adjustment specification. Values are provided as a list.
1 | GetParamInfoFromAdjustSpec(paramSpecs, infoType = "value")
|
paramSpecs |
List of parameter specifications. Required. |
infoType |
Type of information to extract from the parameter specification. Optional. Default = "value". |
List of parameters of shape [paramName]
= [paramValue]
1 2 3 4 5 6 7 8 9 10 11 12 13 | paramSpecs <- list(
nimp = list(
label = "Number of imputations",
input = "numeric",
value = 2
)
)
GetParamInfoFromAdjustSpec(paramSpecs)
# $nimp
# [1] 2
GetParamInfoFromAdjustSpec(paramSpecs, infoType = "label")
GetParamInfoFromAdjustSpec(paramSpecs, infoType = "input")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.