elaborator_derive_test_values: Derives p-values and estimates for sign test or t-test

Description Usage Arguments Value

View source: R/elaborator_derive_test_values.R

Description

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.

Usage

1
2
3
4
5
6
7
elaborator_derive_test_values(
  data = data,
  signtest = TRUE,
  Visit1 = c("Randomization"),
  Visit2 = c("End of Treatment"),
  lab_column
)

Arguments

data

data set

signtest

logical, if true sign test, otherwise t-test for comparing Visit1 and Visit2 is performed

Visit1

name of visit time point one

Visit2

name of visit time point two, or vector of visit names for pairwise comparison to Visit1

lab_column

column name of data which includes the laboratory parameter names

Value

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.


elaborator documentation built on Feb. 23, 2021, 1:06 a.m.