View source: R/getATCLevelPlot.R
getATCLevelPlot | R Documentation |
getAtcLevelPlot
is a function to get daily dosage drugs(DDDs) in Anatomical Therapeutic Chemical Classification System(ATC) code level histogram plot.
getATCLevelPlot(df, ATCColName = ATC, level = 1)
df |
data.frame, include ATC code |
ATCColName |
a column name for ATC code of df |
If the amount of drug information obtained by the user is large and messy, the user can first visualize the data using basic statistical tools, explore the characteristics of the data, and obtain the information, structure and features contained in the data. Because before having a complicated or rigorous analysis, user must have more knowledge of the data to determine the direction of the data analysis.
# sample of getting ATC first-level code distribution bar chart getATCLevelPlot(df = sample_data_ATC1LevelPlot, ATCColName = ATC, level = 1) # sample of getting ATC second-level code distribution bar chart getATCLevelPlot(df = sample_data_ATC1LevelPlot, ATCColName = ATC, level = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.