Learn R Programming

rtables (version 0.6.12)

trim_levels_in_facets: Trim levels of another variable from each facet (post-processing split step)

Description

Trim levels of another variable from each facet (post-processing split step)

Usage

trim_levels_in_facets(innervar)

Value

A function suitable for use in the pre (list) argument of make_split_fun.

Arguments

innervar

(character)
the variable(s) to trim (remove unobserved levels) independently within each facet.

See Also

make_split_fun()

Other make_custom_split: add_combo_facet(), drop_facet_levels(), make_split_fun(), make_split_result()