| bad_response | R Documentation |
NADetermines whether responses are good or bad.
Bad responses are replaced with missing (NA). Good responses are returned
bad_response(word, ...)
bad.response(word, ...)
word |
Character. A word to be tested for whether it is bad |
... |
Vector. Additional responses to be considered bad |
If response is bad, then returns NA.
If response is valid, then returns the response
Alexander Christensen <alexpaulchristensen@gmail.com>
# Bad response
bad_response(word = " ")
# Good response
bad_response(word = "hello")
# Make a good response bad
bad_response(word = "hello", "hello")
# Add additional bad responses
bad_response(word = "hello", c("hello", "world"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.