| plot_caption | R Documentation |
Take input text and generate a standardized csv file with a caption for a given figure.
plot_caption(text, survey, figname, savefile)
text |
A text string of any length pasted together into a single string. |
survey |
A character value supplying the survey name.
The value is typically an acronym.
See |
figname |
A character value that will be pasted together along with the
survey name to generate the label used in the Latex file or markdown file.
For example entries of |
savefile |
The file name that you want the results saved to. A full path can be specified, else the file will be saved in the current directory. |
The resulting data frame with the label and the caption as column
entries with a single row for the given figure. The data frame is also
saved to the disk using the file name in savefile.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.