Generates diagrams showing the frequency of normal and abnormal values at each visit of a study separately by treatment group and laboratory parameter according to the reference-value based pattern analysis.
elaborator_plot_ref_pattern(
data,
criterion,
fontsize = 0.6,
sorting_vector = as.character(unique(data[, "LBTESTCD"])),
abnormal_value_factor = 1
)
No return value, called to plot the reference-based value pattern.
data set
criterion for defining whether abnormal values are defined as values below the lower limit of normal (less), above the upper limit of normal (greater) or either above the upper limit of normal or below the lower limit of normal (within)
font size of numbers printed inside the circles
vector of laboratory parameter names in the order in which laboratory parameters are presented in the output
numeric which is multiplied with upper and/or lower limit of normal for defining abnormal values; can only take positive values.