| lbt05_main | R Documentation |
LBT05 Table 1 (Default) Laboratory Abnormalities with Single and Replicated Marked.LBT05 Table 1 (Default) Laboratory Abnormalities with Single and Replicated Marked.
lbt05_main(
adam_db,
arm_var = "ACTARM",
lbl_overall = NULL,
map = lab_paramcd_abn_dir(),
...
)
lbt05_pre(adam_db, ...)
lbt05_post(tlg, prune_0 = FALSE, keep = "Any Abnormality", ...)
lbt05
lab_paramcd_abn_dir()
adam_db |
( |
arm_var |
( |
lbl_overall |
( |
map |
( |
... |
not used. |
tlg |
( |
prune_0 |
( |
keep |
( |
An object of class chevron_t of length 1.
Does not remove rows with zero counts by default.
Lab test results with missing AVAL values are excluded.
Split columns by arm, typically ACTARM.
the main function returns an rtables object.
the preprocessing function returns a list of data.frame.
the postprocessing function returns an rtables object or an ElementaryTable (null report).
a data.frame with the direction of abnormality of each lab parameter code.
lbt05_main(): Main TLG function
lbt05_pre(): Preprocessing
lbt05_post(): Postprocessing
lab_paramcd_abn_dir():
adam_db object must contain an adlb table with columns "ONTRTFL", "PARCAT2", "PARAM", "ANRIND",
"AVALCAT1", and column specified by arm_var.
run(lbt05, syn_data)
map <- data.frame(PARAMCD = c("ALT", "ALT", "CRP", "CRP", "IGA", "XXX"), ABN_DIR = c("Low", "High"))
run(lbt05, syn_data, map = map)
# example code
head(lab_paramcd_abn_dir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.