elaborator_perform_binomial_test: Performs binomial test for changes of a laboratory parameter...

View source: R/elaborator_perform_binomial_test.R

elaborator_perform_binomial_testR Documentation

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
)

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

Value

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


elaborator documentation built on April 4, 2025, 5:31 a.m.