getGrams: Otain Grams-negative or Gram-positive patient organism status

Description Usage Arguments Author(s) Examples

View source: R/reformatFns.R

Description

Produces a vector of given sign Gram recorded in data for each infected patient.

Usage

1

Arguments

data
sign

Author(s)

N Green

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
##---- 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, sign) 
{
    gramDict <- unique(data$lab_group[data$lab_GRAMEXT == sign])
    gramDict <- gramDict[gramDict != "other"]
    gramDict
  }

n8thangreen/HESmanip documentation built on March 21, 2020, 12:20 a.m.