Description Usage Arguments Examples
View source: R/MarkdownReports.R
Two back-to-back histograms from a list. The X-axis is only correct if breaks1 ==breaks2. Undeveloped function, contains graphical bugs, no support for this function.
1 2 3 4 5 | whist.back2back(ListOf2 = list(A = rnorm(100), B = rnorm(100)),
breaks1 = 20, breaks2 = breaks1, colorz = c("green", "blue"), ...,
plotname = substitute(variable), main_ = plotname, ylab = "Frequency",
savefile = UnlessSpec("b.save.wplots"), incrBottMarginBy = 0,
w = UnlessSpec("b.defSize", 7), h = w, mdlink = ww.set.mdlink())
|
ListOf2 |
List of 2 numeric vectors |
breaks1 |
break parameter for histogram function for the 2st list element. |
breaks2 |
break parameter for histogram function for the 2st list element. |
colorz |
Color of the 2 histograms |
... |
Pass any other parameter of the corresponding plotting function (most of them should work). |
plotname |
The name of the file saved. |
main_ |
The title of the plot. |
ylab |
Y-axis label |
savefile |
Save plot as pdf in OutDir, TRUE by default. |
incrBottMarginBy |
Increase the blank space at the bottom of the plot. Use if labels do not fit on the plot. |
w |
Width of the saved pdf image, in inches. |
h |
Height of the saved pdf image, in inches. |
mdlink |
Insert a .pdf and a .png image link in the markdown report, set by "path_of_report". |
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. |
1 | whist.back2back(ListOf2 = list("A" = rnorm(100), "B"=rnorm(100)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.