wboxplot: wboxplot

Description Usage Arguments Examples

Description

Create and save box plots as .pdf, in "OutDir". If mdlink =T, it inserts a .pdf and a .png link in the markdown report, set by "path_of_report". The .png version is not created, only the link is put in place, not to overwrite previous versions.

Usage

1
2
3
4
5
wboxplot(yalist, ..., col = "gold1",
  plotname = as.character(substitute(yalist)), ylb = "", sub = FALSE,
  incrBottMarginBy = 0, tilted_text = F,
  savefile = UnlessSpec("b.save.wplots"), w = UnlessSpec("b.defSize", 7),
  h = w, mdlink = ww.set.mdlink())

Arguments

yalist

The variable to plot.

...

Pass any other parameter of the corresponding plotting function (most of them should work).

col

Color of the plot.

plotname

Title of the plot (main parameter) and also the name of the file.

sub

Subtitle below the plot.

incrBottMarginBy

Increase the blank space at the bottom of the plot. Use if labels do not fit on the plot.

tilted_text

Use 45 degree x-labels if TRUE. Useful for long, but not too many labels.

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.

mdlink

Insert a .pdf and a .png image link in the markdown report, set by "path_of_report".

Examples

1
wboxplot (variable =  , ... =  , col = gold1, plotname = as.character(substitute(variable)), sub = FALSE, incrBottMarginBy = 0, tilted_text = F, w = 7, h = w, mdlink = F)

vertesy/MarkdownReports.v2.9.5 documentation built on May 22, 2019, 4 p.m.