convergence_plot: Convergence plot

Description Usage Arguments Value

View source: R/plot_convergence_plot.R

Description

Line plot of trajectories. Given a data frame and values for abszissa and ordinate the function returns a modifiable ggplot2 object.

Usage

1
2
3
convergence_plot(tbl, x, y, color = NULL, linetype = color,
  shape = NULL, xlab = x, ylab = y, vlines.at = NULL,
  hlines.at = NULL, x.logscale.base = NULL, ...)

Arguments

tbl

[data.frame]
Data frame with input data.

x

[string]
Column name of x-value.

y

[string]
Column name of y-value.

color

[string]
Column name of column used for coloring.

linetype

[string]
Column name of column used for linetype. Defaults to color.

shape

[string]
Column name of column used for shape. If not NULL, in addition to lines, points are plotted.

xlab

[string]
x-axis label. Defaults to x.

ylab

[string]
y-axis label. Defaults to y.

vlines.at

[numeric]
If not NULL, indicates the positions of dashed gray vertical lines.

hlines.at

[numeric]
If not NULL, indicates the positions of dashed gray horizontal lines.

x.logscale.base

[numeric(1)]
Base used for log-scaled abszissa.

...

[any]
Not used.

Value

[ggplot]


jakobbossek/tblutils documentation built on March 13, 2021, 12:47 p.m.