This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #' Reporting the participant data | |
| #' | |
| #' A helper function to help you format the participants data (age, sex, ...) in | |
| #' the participants section. | |
| #' | |
| #' @param data A data frame. | |
| #' @param age The name of the column containing the age of the participant. | |
| #' @param sex The name of the column containing the sex of the participant. The | |
| #' classes should be one of `c("Male", "M", "Female", "F")`. Note that | |
| #' you can specify other characters here as well (e.g., `"Intersex"`), but |