diff --git a/R/report_participants.R b/R/report_participants.R index 40e6dfc5..5a8f10b1 100644 --- a/R/report_participants.R +++ b/R/report_participants.R @@ -10,7 +10,7 @@ #' you can specify other characters here as well (e.g., `"Intersex"`), but #' the function will group all individuals in those groups as `"Other"`. #' @param gender The name of the column containing the gender of the -#' classes should be one of `c("Man", "M", "Male", Woman", "W", F", +#' classes should be one of `c("Man", "M", "Male", Woman", "W", "F", #' "Female", Non-Binary", "N")`. Note that you can specify other characters #' here as well (e.g., `"Gender Fluid"`), but the function will group all #' individuals in those groups as `"Non-Binary"`. @@ -355,7 +355,7 @@ report_participants <- function(data, } genders_woman <- c( - "woman", "w", "female", "women", "girl", + "woman", "w", "female", "f", "women", "girl", "lady", "miss", "madam", "dame", "lass" ) genders_man <- c( diff --git a/man/report_participants.Rd b/man/report_participants.Rd index e1704666..c803ee27 100644 --- a/man/report_participants.Rd +++ b/man/report_participants.Rd @@ -32,7 +32,7 @@ you can specify other characters here as well (e.g., \code{"Intersex"}), but the function will group all individuals in those groups as \code{"Other"}.} \item{gender}{The name of the column containing the gender of the -classes should be one of \verb{c("Man", "M", "Male", Woman", "W", F", "Female", Non-Binary", "N")}. Note that you can specify other characters +classes should be one of \verb{c("Man", "M", "Male", Woman", "W", "F", "Female", Non-Binary", "N")}. Note that you can specify other characters here as well (e.g., \code{"Gender Fluid"}), but the function will group all individuals in those groups as \code{"Non-Binary"}.}