marcTable: marcTable, default Lexicon for tmpm 1.0.3

Description Usage Format References Examples

Description

A data.frame containing the master lexicon for the tmpm package. Contains the index of ais, ICD-9, and ICD-10 trauma codes as well as their respective marc weights within the tmpm model separated by body region.

Usage

1

Format

A data frame with 10767 observations on the following 4 variables.

lexi

The trauma code lexicon, a factor with levels ais icdIX icdX.

index

A unique index value for each entry, a factor with 10767 levels.

marc

Marc weights used in the tmpm model. A numeric vector

bodyregion

Body region where the injury occured. A factor with levels 1 2 3 4 5 6 7 8 9 A C E F H S

References

Glance, LG, Osler, TM, Mukamel, DB, et al. TMPM-ICD9 A Trauma Mortality Prediction Model Based on ICD-9-CM Codes. Ann Surg 2009; 249:1032-1039.

Osler, T, Glance, L, Buzas, JS, et al. A Trauma Mortality Prediction Model Based on the Anatomic Injury Scale. Ann surg 2008; 247:1041-1048.

Examples

1
2
3
4
5
6
7
#  lexi index   marc       bodyregion
#1  ais 110099 -0.06503967          1
#2  ais 110202  0.13577652          1
#3  ais 110402  0.06703821          1
#4  ais 110600  0.12536530          1
#5  ais 110602 -0.01852628          1
#6  ais 110604  0.27072704          1

Example output

Loading required package: reshape2

tmpm documentation built on May 2, 2019, 1:58 a.m.

Related to marcTable in tmpm...