formattingDrugName: Normalization of drug names

Description Usage Arguments Value Examples

View source: R/formattingDrugName.R

Description

This function corrects and capitalizes the names of a given vector of drugs.

Usage

1

Arguments

DrugName

A string with the name of the drug to be normalized

Value

A string containing only alphanumeric content of the input drug and capitalized

Examples

1
formattingDrugName("morphine")

drughelper documentation built on July 7, 2021, 1:06 a.m.