PlotAverages: PlotAverages

Description Usage Arguments Author(s)

View source: R/PlotAverages.R

Description

PlotAverages add averages to a plot, usually combined with PlotStat.

Usage

1
2
3
PlotAverages(GradTable, stat, par1, par2, pal = NA, plot_sd = F,
  epsilon = 0.01, add = T, xlim = NA, ylim = NA, xlab = "",
  ylab = "", ...)

Arguments

GradTable

A dataframe (usually output of FillSetting) or FillSettingByHZAR

stat

The variable to be plot on y axis

par1

The variable to be plot on x axis

par2

The variable used for the coloring of points

pal

is a vector of colous used for colouring categories of the second parameter. By default the pallete will be generated as 'Set1' color brewer pallete with apropriate number of categories

plot_sd

F; plot with averages also standard deviation

epsilon

0.01 is width of the end of standard deviation bar

add

T add points to existing plot, F create a new plot

xlab,

ylab, xlim, ylim concernig creation of the new plot

...

is passed to lines (not to ploints)

Author(s)

Kamil Jaron kamiljaron at gmail.com


KamilSJaron/ConjunctionStats documentation built on May 7, 2019, 12:06 p.m.