wstripchart_list: wstripchart_list

Description Usage Arguments Examples

Description

Create and save stripcharts from a list as .pdf, in "OutDir". This version allows individual coloring of each data point, by a color-list of the same dimension. 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
6
7
wstripchart_list(yalist, ..., border = 1, bxpcol = 0, pch = 18,
  pchlwd = 1, pchcex = 1.5, bg = "chartreuse2", coll = "black",
  metod = "jitter", jitter = 0.2,
  plotname = as.character(substitute(yalist)), sub = NULL, ylb = "",
  xlab = "", incrBottMarginBy = 0, tilted_text = F,
  savefile = UnlessSpec("b.save.wplots"), w = UnlessSpec("b.defSize", 7),
  h = w, mdlink = ww.set.mdlink())

Arguments

yalist

Input list to be plotted.

...

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

border

An optional vector of colors for the outlines of the boxplots. The values in border are recycled if the length of border is less than the number of plots.

bxpcol

Color of the boxplot outlines.

pch

Define the symbol for each data point. A number [0-25] or any string between ""-s.

pchlwd

Define the outline width of the symbol for each data point.

pchcex

Define the size of the symbol for each data point.

bg

Background color.

metod

Method for displaying data points to avoid overlap; either"jitter" or "stack". See stripchart().

jitter

The amount of horizontal scatter added to the individual data points (to avoid overlaps).

plotname

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

sub

Subtitle below the plot.

ylb

Y-axis label.

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".

xlb

X-axis label.

col

Color of the plot.l

Examples

1
wstripchart_list (yalist =  , ... =  , plotname = as.character(substitute(yalist)), sub = FALSE, ylb = NULL, xlab = NULL, border = 1, bxpcol = 0, pch = 23, pchlwd = 1, pchcex = 1.5, bg = chartreuse2, coll = black, metod = jitter, jitter = 0.2, w = 7, h = w, incrBottMarginBy = 0, tilted_text = F, mdlink = F)

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