Plot correlation of continuous and categorical covariates in an IQRdataER/IQRaedataER object

By default all time-independent covariates will be considered. The user can define a subset or other columns to consider. If such columns are time-varying, only the first recorded value will be used.

plotCorCovCat_IQRdataER(
  data,
  covNames = NULL,
  catNames = NULL,
  scale = "linear",
  filename = NULL,
  fontSize = NULL,
  CORR_THRESHOLD = 0.3,
  FLAGreturnObject = ifelse(is.null(filename), TRUE, FALSE)
)

Arguments

data

IQRdataER/IQRaedataER object

covNames

Names (columns) of continuous covariates and other continuous columns to include in graphical exploration. If NULL (default) all time-independent categorical covariates will be used.

catNames

Names (columns) of categorical covariates and other categorical columns to include in graphical exploration. If NULL (default) all time-independent categorical covariates will be used.

scale

Defines whether to plot continuous covariates on linear or logarithmic scales: Either "log", "linear" or named (covariate column names) vector of "log" and "linear" entries for scaling coavariates differently. Defaults to linear scale.

filename

String for PDF file to print graphs to. If NULL (default) PDF is not produced.

fontSize

Allows to provide font size information in case the automatic adjustment is not acceptable

CORR_THRESHOLD

Threshold for correlation from which on color will be changed to red.

FLAGreturnObject

Flag whether to return graph object or not (default).