conv_hep_hepb | R Documentation |
Parse entries that indicate a Hepatitis B infection
conv_hep_hepb(vec)
vec |
a character vector to parse |
returns TRUE if case-insensitive "hepatitis b" is detected in the character vector.
a logical vector
x <- c("None","Hepatitis B","Unknown","Hepatitis B and C","Hepatitis C",
"Other", NA)
cbind(x, nsqipr:::conv_hep_hepb(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.