combine_care: Combine care

Description Usage Arguments Value

View source: R/combine_care.R

Description

Specific function that combine 'twin' variables of patient's care at admission (var1) and at discharge (var2) in to a single variable. Input variable is coded with values 'Yes' or 'No'. Output variable is code with values 'Yes', 'No at admission then not reported', 'No at any time' or 'Not reported'.

Usage

1
combine_care(var1, var2)

Arguments

var1

variable at admission

var2

variable at discharge

Value

a character vector


epicentre-msf/covidutils documentation built on July 22, 2021, 1:03 p.m.