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.
Format
An object of class chevron_t of length 1.
Arguments
adam_db
(list of data.frames) object containing the ADaM datasets
arm_var
(string) variable used for column splitting
lbl_overall
(string) label used for overall column, if set to NULL the overall column is omitted
map
(data.frame) with two columns mapping of parameters code (PARAMCD) to directions of abnormality
(ABN_DIR). If a parameter is not in the map or if map is NULL, both directions are analyzed.
...
not used.
tlg
(TableTree, Listing or ggplot) object typically produced by a main function.
prune_0
(flag) remove 0 count rows
keep
(character) the levels to keep in the table even if they are empty. If NULL, all levels are pruned.
Functions
lbt05_main(): Main TLG function
lbt05_pre(): Preprocessing
lbt05_post(): Postprocessing
lab_paramcd_abn_dir():
Details
Does not remove rows with zero counts by default.
Lab test results with missing AVAL values are excluded.