[[.comorbidity_map | R Documentation |
Equivalent to a list, but preserves class of extracted vector.
## S3 method for class 'comorbidity_map'
x[[index, ...]]
x |
comorbidity map, which is a named list |
index |
integer |
... |
arguments passed on to other functions |
# show that attributes are preserved when subsetting
stopifnot(is.short_diag(icd10_map_ahrq[[1]]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.