View source: R/OnlyTransferredPatients.R
Keeps only patients who were transferred from another health facility in the sample.
1 2 | OnlyTransferredPatients(study.sample, transfer.variable.name = "tran",
transfer.value = "Yes", remove.missing = TRUE)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.