powered by
character_to_logical(x, ignore.case = TRUE)
character_to_logical("yes") try(character_to_logical("hi"))
Run the code above in your browser using DataLab