View source: R/plots-tableClinData.R
tableClinData | R Documentation |
Interactive table is created, with the possibility to have clickeable link to patient-specific report, and included within a button.
tableClinData( data, idVar = "USUBJID", idLab = getLabelVar(idVar, labelVars = labelVars), keyVar = NULL, keyLab = getLabelVar(keyVar, labelVars = labelVars), pathVar = NULL, pathLab = getLabelVar(pathVar, labelVars = labelVars), pathExpand = FALSE, tableVars = colnames(data), tableLab = getLabelVar(tableVars, labelVars = labelVars), tableButton = TRUE, tablePars = list(), id = paste0("plotClinData", sample.int(n = 1000, size = 1)), labelVars = NULL, verbose = FALSE )
data |
Data.frame with data. |
idVar |
String with variable containing subject ID. |
idLab |
String with label for |
keyVar |
String with unique key variable, identifying unique group for which the link between the table and the plot should be done. |
keyLab |
String with label for |
pathVar |
String with variable of <a href="./path-to-report">label</a> .
|
pathLab |
String with label for |
pathExpand |
Logical, should the variable in |
tableVars |
Character vector with variables to be included in the table. |
tableLab |
Named character vector with labels
for each |
tableButton |
Logical, if TRUE (by default) the table is included within an HTML button. |
tablePars |
List with parameters passed to the
|
id |
String with general id for the plot:
If not specified, a random id, as 'plotClinData[X]' is used. |
labelVars |
Named character vector containing variable labels. |
verbose |
Logical, if TRUE (FALSE by default) progress messages are printed in the current console. |
datatable
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.