getPlotTableVars: Extract variables displayed in the attached table, for each...

Description Usage Arguments Value Author(s)

View source: R/plots-utility-getPlotTableVars.R

Description

This function is used in each plotting function of the package to extract the variable(s) displayed in the table associated to the plot and their associated labels.
This can also be used in the template reports, e.g. to extract reference variable(s) for the comparison table functionality in the plot template report.
The following framework is used:

For the functions: plotCountClinData, treemapClinData, sunburstClinData: value to represent are included in the table and colored with a bar.

Usage

1
getPlotTableVars(plotFunction, plotArgs)

Arguments

plotFunction

String with name of the plotting function, be available in the clinDataReview package.

plotArgs

List with parameters passed to the plotting function.

Value

Character vector with variable to include in the table, with extra attributes (passed to tableClinData):

labels and the table parameters .

Author(s)

Laure Cougnaud


clinDataReview documentation built on July 14, 2021, 5:08 p.m.