Learn R Programming

teal.modules.clinical (version 0.10.0)

template_laboratory: Template: Patient Profile Laboratory Table

Description

Creates a valid expression to generate a patient profile laboratory table using ADaM datasets.

Usage

template_laboratory(
  dataname = "ANL",
  paramcd = "PARAMCD",
  param = "PARAM",
  anrind = "ANRIND",
  timepoints = "ADY",
  aval = lifecycle::deprecated(),
  aval_var = "AVAL",
  avalu = lifecycle::deprecated(),
  avalu_var = "AVALU",
  patient_id = NULL,
  round_value = 0L
)

Value

a list of expressions to generate a table or plot object.

Arguments

dataname

(character)
analysis data used in teal module.

paramcd

(character)
name of the parameter code variable.

param

(character)
name of the parameter variable.

anrind

(character)
name of the analysis reference range indicator variable.

timepoints

(character)
name of time variable.

aval

[Deprecated] Please use the aval_var argument instead.

aval_var

(character)
name of the analysis value variable.

avalu

[Deprecated] Please use the avalu_var argument instead.

avalu_var

(character)
name of the analysis value unit variable.

patient_id

(character)
patient ID.

round_value

(numeric)
number of decimal places to round to.

See Also

tm_t_pp_laboratory()