OnlyTransferredPatients: Only transferred patients

Description Usage Arguments

View source: R/OnlyTransferredPatients.R

Description

Keeps only patients who were transferred from another health facility in the sample.

Usage

1
2
OnlyTransferredPatients(study.sample, transfer.variable.name = "tran",
  transfer.value = "Yes", remove.missing = TRUE)

Arguments

study.sample

Data frame. The study sample. No default.

transfer.variable.name

Character vector of length 1. The name of the transfer variable. Defaults to "tran".

transfer.value

Character or numeric vector of length 1. The value of the transfer variable that indicates that a patients was transferred. Defaults to "Yes".

remove.missing

Logical vector of length 1. If TRUE all observations with missing transfer, as detected by is.na, are removed from the sample. Defaults to TRUE.


martingerdin/bengaltiger documentation built on Feb. 29, 2020, 4:46 p.m.