factor_apportion_both: factor_apportion_both

View source: R/factor_apportioned.R

factor_apportion_bothR Documentation

factor_apportion_both

Description

Converts apportioning data into combined factor for use in tables containing both onset status and prior healthcare exposure

Usage

factor_apportion_both(x)

Arguments

x

A character variable from an apportioning algorithm

Value

An ordered factor variable

See Also

mo_tab_long, ann_tab_long, factor_prior_hc and factor_apportioned

Examples

factor_apportion_both(1)
factor_apportion_both("HO")
factor_apportion_both("hoha")

PublicHealthEngland/hcaidcs documentation built on Jan. 19, 2024, 8:38 a.m.