nbc4vaDataRaw | R Documentation |
A random generation of unclean verbal autopsy synthetic data for use in demonstrating the nbc4va package.
nbc4vaDataRaw
A dataframe with 100 rows and 102 columns:
id (vectorof char): the case identifiers
cause (vectorof char): the cause of death for each case
symptom1..100 (vectorsof (1 OR 0 OR 99)): whether the symptom is recorded as present (1), absent (0), or unknown (99) for each case (row)
Example:
id | cause | symptom1 | symptom2 | symptom3 |
"a27" | "cause10" | 99 | 0 | 1 |
"k37" | "cause2" | 0 | 99 | 1 |
"e57" | "cause8" | 1 | 0 | 99 |
Warning: This data may produce errors depending on how you use it in the package.
Random generation using the sample
function with set.seed
set to 1.
library(nbc4va) data(nbc4vaDataRaw)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.