This function is mostly useful for generating the quantitative trend analysis plots. It returns p-values and estimates for the sign test or the t-test used for colorizing the background of the plots.
elaborator_derive_test_values(
data = data,
signtest = TRUE,
Visit1 = c("Randomization"),
Visit2 = c("End of Treatment"),
lab_column
)
A list with p-values and estimates of the selected statistical test. The p-values and estimates will be used to colorize the background of the quantitative trend analysis plots.
p.value - p.value of statistical test.
estimate - estimate of statistical test.
data set
logical, if true sign test, otherwise t-test for comparing Visit1 and Visit2 is performed
name of visit time point one
name of visit time point two, or vector of visit names for pairwise comparison to Visit1
column name of data which includes the laboratory parameter names