Learn R Programming

elaborator (version 1.3.5)

elaborator_perform_binomial_test: Performs binomial test for changes of a laboratory parameter between two visits

Description

This function is mostly useful for generating the quantitative trend analysis plots. It returns the output of a binomial test result used for colorizing the background of the plots.

Usage

elaborator_perform_binomial_test(
  data,
  treatment,
  lab_parameter,
  Visit1 = "Randomization",
  Visit2 = "End of Treatment",
  lab_column
)

Value

A list of class "htest", with the results of the binomial test.

Arguments

data

data set

treatment

name of treatment group

lab_parameter

name of laboratory parameter

Visit1

name of visit time point one

Visit2

name of visit time point two

lab_column

column name of data which includes the laboratory parameter names