Description Usage Arguments Examples
View source: R/MarkdownReportsDev.R
Use this version of whist() if you iterate over columns or rows of a data frame. You can name the file by naming the variable. Cannot be used with dynamically called variables (e.g. call vectors within a loop).
1 2 3 4 5 6 7 8 9 10 | whist_dfCol(
df,
colName,
col = unless.specified("b.def.colors", "gold1"),
...,
savefile = unless.specified("b.save.wplots"),
w = unless.specified("b.defSize", 7),
h = w,
PNG = unless.specified("b.usepng", F)
)
|
df |
Input data frame to be plotted |
colName |
Which column to plot (by name). |
col |
Color of the plot. |
... |
Pass any other parameter of the corresponding plotting function(most of them should work). |
savefile |
Save plot as pdf in OutDir, TRUE by default. |
w |
Width of the saved pdf image, in inches. |
h |
Height of the saved pdf image, in inches. |
PNG |
Set to true if you want to save the plot as PNG instead of the default PDF. |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.