View source: R/clean_antibiotics.R
clean_antibiotics | R Documentation |
This utility helps to identify and clean-up antibiotics names passed to it. Also helps to identify whether a medicine is antibiotic or not
clean_antibiotics(x , ...)
x |
character vector or a dataframe containing medicine details |
... |
column name with drug details (required only if first parameter is a dataframe) |
Character Vector or Data Frame
clean_antibiotics(c("Amoxicilin","Amoxicillin","Paracetamol"))
df <- data.frame(medicine = c("Amoxicilin","Amoxicillin","Paracetamol"))
clean_antibiotics(df,drug_col=medicine)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.