phoenix_immunologic {phoenix}R Documentation

Phoenix Immunologic Score

Description

Apply the Phoenix immunologic scoring based on ANC and ALC. This is only part of Phoenix-8 and not Phoenix.

Usage

phoenix_immunologic(anc = NA_real_, alc = NA_real_, data = parent.frame(), ...)

Arguments

anc

absolute neutrophil count; a numeric vector; units of 1,000 cells per cubic millimeter

alc

absolute lymphocyte count; a numeric vector; units of 1,000 cells per cubic millimeter

data

a list, data.frame, or environment containing the input vectors

...

pass through

Value

a integer vector with values 0 or 1

As with all other Phoenix organ system scores, missing values in the data set will map to a score of zero - this is consistent with the development of the criteria.

Phoenix Immunologic Scoring

1 point if ANC < 500 or ALC < 1000 cells per cubic millimeter.

References

See reference details in phoenix-package or by calling citation('phoenix').

See Also

vignette('phoenix') for more details and examples.

Examples


# using the example sepsis data set
immu_example <- sepsis[c("pid", "anc", "alc")]
immu_example$score <- phoenix_immunologic(anc, alc, sepsis)
immu_example

# using the example sepsis data set
hep_example <- sepsis[c("pid", "bilirubin", "alt")]
hep_example$score <- phoenix_hepatic(bilirubin, alt, sepsis)
hep_example

# example data set with all possilbe hepatic scores
DF <- expand.grid(anc = c(NA, 200, 500, 600), alc = c(NA, 500, 1000, 2000))
phoenix_immunologic(anc = anc, alc = alc, data = DF)


[Package phoenix version 1.1.0 Index]