chart_mf | R Documentation |
Distribution of meal frequency (overall and by sex)
chart_mf(x, save_chart = TRUE, filename = paste(tempdir(), "chart", sep = "/"))
x |
Indicators dataset produced by create_op_all |
save_chart |
Logical. Should chart be saved? Default is TRUE. |
filename |
Prefix to add to output chart filename or a directory
path to save output to instead of working directory. Default is a path to
a temporary directory and a filename starting with |
Barplot of meal frequency in PNG format saved in current working
directory or in a specified directory if filename
is a path unless
when save_chart
is FALSE in which case chart is shown in current
graphics device.
# Create meal frequency chart using indicators.ALL dataset
chart_mf(x = indicators.ALL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.