mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 07:51:57 +02:00
website update
This commit is contained in:
@ -67,8 +67,8 @@ The `LETTERS` object is available in R - it's a vector with 26 characters: `A` t
|
||||
|
||||
```{r create gender}
|
||||
patients_table <- data.frame(patient_id = patients,
|
||||
gender = c(strrep("M", 135),
|
||||
strrep("F", 125)))
|
||||
gender = c(rep("M", 135),
|
||||
rep("F", 125)))
|
||||
```
|
||||
|
||||
The first 135 patient IDs are now male, the other 125 are female.
|
||||
|
Reference in New Issue
Block a user