Description Usage Arguments Author(s) Examples
Within an organism group take the first incidence of infection i.e earliest specimen time and remove the rest.
1 |
data |
Patient record data with approriate fields. |
N Green
1 2 3 4 5 6 7 8 9 10 11 12 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (data)
{
data.drop <- subset(data, select = -c(adm_diff_specdate,
dis_diff_specdate, lab_Specimendate, lab_opieid, lab_organismname,
lab_group, Gram))
!duplicated(data.drop)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.