Description Usage Arguments Value Examples
View source: R/add_self_harm_9_10cm.R
Finding Self-harm and suicide attempts
1 | add_self_harm_9_10cm(data, diag_ecode_col, var_name, date)
|
data |
the hospital dataset in which to add the new variables |
diag_ecode_col |
The column indeces for the icd 9 and icd 10 cm |
var_name |
The name for the new variable |
date |
The name of the date of discharge field |
The original dataset with the added field. 1 means variable present and 0 otherwise
1 | Examples will be added later
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.