View source: R/simAdmissionData.R
simAdmissionData | R Documentation |
Simulate admission data
simAdmissionData(n, m = 5, diagnoses, startDate = "1995-01-01")
n |
Number of patients |
m |
Maximal number of admission dates per patient |
diagnoses |
List of diagnoses. Defaults to all possible ICD10 codes: http://www.icd10data.com/ICD10CM/Codes |
startDate |
starting date |
Simulate admission data alike the Danish medical registry
Helene Charlotte Rytgaard hely@sund.ku.dk, Thomas Alexander Gerds tag@biostat.ku.dk
## a single subject
set.seed(1)
simAdmissionData(1)
## 7 subjects
set.seed(28)
simAdmissionData(7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.