conv_hep_otherviral | R Documentation |
Parse entries that indicate a non-Hepatitis viral infection
conv_hep_otherviral(vec)
vec |
a character vector to parse |
returns TRUE if case-insensitive "other" 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_otherviral(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.