View source: R/loadDataADaMSDTM.R
getLabelParamcd | R Documentation |
This function gets the labele for a parameter code extracted from the 'PARAM' column.
getLabelParamcd(paramcd, data, paramcdVar = "PARAMCD", paramVar = "PARAM")
paramcd |
Character vector with parameter code(s). |
data |
Data.frame with data. |
paramcdVar |
String with column containing the |
paramVar |
String with column containing the |
Named character vector with label for parameter code or
paramcd
if label is missing.
Laure Cougnaud
# for ADaM data(dataADaMCDISCP01) getLabelParamcd(paramcd = "CHOL", data = dataADaMCDISCP01$ADLBC) # for SDTM data(dataSDTMCDISCP01) getLabelParamcd( paramcd = "ALB", data = dataSDTMCDISCP01$LB, paramcdVar = "LBTESTCD", paramVar = "LBTEST" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.