trim_levels_in_facets {rtables}R Documentation

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)

Arguments

innervar

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

Value

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

See Also

make_split_fun()

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


[Package rtables version 0.6.9 Index]