Description Usage Arguments Examples
Generate simulated 'NEDS' data for 'PCCC' and bigger wide data testing
1 | generate_neds_pts(n = 1000L, ncol = 20L, icd10 = TRUE, verbose = FALSE)
|
n |
Integer number of rows of data to generate |
ncol |
Integer number of diagnostic code columns, default of 20 matches NEDS |
icd10 |
Logical, default |
verbose |
single logical value, defaults to |
1 2 3 4 5 6 7 8 9 10 11 12 | summary(icd::comorbid_pccc_dx(icd:::generate_neds_pts()))
neds <- icd:::generate_neds_pts(n = 100, ncol = 10L, icd10 = FALSE)
stopifnot(dim(neds) == c(100L, 11L))
summary(icd::comorbid_pccc_dx(neds))
## Not run:
# original size data for PCCC benchmarking:
set.seed(1441)
# Large NEDS simulation: neds <- icd:::generate_neds_pts(28584301L)
neds <- icd:::generate_neds_pts(2858L)
neds_comorbid <- icd::comorbid_pccc_dx(neds)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.