Skip to content

Commit

Permalink
lex.dutch yes & no
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghozayel committed May 28, 2023
1 parent cce470c commit b92214c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/lex_dutch.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#' @export
#' @name lex_dutch
lex_dutch <- function(dataframe) {
if(!is.numeric(answerVar$answer)){ anwerVar$answer = ifelse(tolower(answerVar$answer) %in% c("yes", "y"), 1, 0)}
stopifnot(all(answerVar$answer %in% c(1,0)))
}
#importing the package data
Data <-
Lextale::lextale.dutch %>%
Expand Down

0 comments on commit b92214c

Please sign in to comment.