Learn R Programming

pROC (version 1.3.1)

aSAH: Subarachnoid hemorrhage data

Description

This dataset summarizes several clinical and one laboratory variable of 113 patients with an aneurysmal subarachnoid hemorrhage.

Usage

aSAH

Arguments

encoding

UTF-8

format

A data.frame containing 113 observations of 7 variables.

source

Natacha Turck, Laszlo Vutskits, Paola Sanchez-Pena, Xavier Robin, Alexandre Hainard, Marianne Gex-Fabry, Catherine Fouda, Hadiji Bassem, Markus Mueller, Frédérique Lisacek, Louis Puybasset and Jean-Charles Sanchez (2010) ``A multiparameter panel method for outcome prediction following aneurysmal subarachnoid hemorrhage''. Intensive Care Medicine 36(1), 107--115. DOI: 10.1007/s00134-009-1641-y.

See Also

Other examples can be found in all the documentation pages of this package: roc, auc, ci, ci.auc, ci.se, ci.sp, ci.thresholds, coords, plot.ci, plot.roc, print.roc, roc.test and smooth.

Examples

Run this code
# load the dataset
data(aSAH)

# Gender, outcome and set
with(aSAH, table(gender, outcome))

# Age
with(aSAH, by(age, outcome, mean))
with(aSAH, by(age, outcome,
     function(x) sprintf("mean: %.1f (+/- %.1f), median: %.1f (%i-%i)",
                         mean(x), sd(x), median(x), min(x), max(x))))

# WFNS score
with(aSAH, table(wfns=ifelse(wfns<=2, "1-2", "3-4-5"), outcome))

Run the code above in your browser using DataLab