mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
(v0.7.1.9090) factor levels of mdr_tb
This commit is contained in:
1 parent
b9f01d686e
commit
b39e7feae6
12 files changed
+73
-65
No files matched your search
+1
-1
@@ -31,7 +31,7 @@ As an example, I will make a data set to determine multi-drug resistant TB:
|
||||
|
||||
```{r}
|
||||
# a helper function to get a random vector with values S, I and R
|
||||
# with the probabilities 50%-10%-40%
|
||||
# with the probabilities 50% - 10% - 40%
|
||||
sample_rsi <- function() {
|
||||
sample(c("S", "I", "R"),
|
||||
size = 5000,
|
||||
|
||||
Reference in new issue
Block a user