plot_activity: Plot the density of submissions over time.

Description Usage Arguments Value See Also

View source: R/plots.r

Description

Plot the density of submissions over time.

Usage

1
2
3
4
plot_activity(history, baseline = "baseline", col = 1:length(history),
  alpha.f = 0.7, bw = 3600 * 24, by = 4, xlab = "Date",
  ylab = "Submissions intensity", bty = "l", fg = "darkslategray",
  col.axis = fg, col.lab = fg, text.col = fg, ...)

Arguments

history

list of the submissions history per team as returned by compute_metrics

baseline

string. name of the team considered as the baseline that will not be plotted.

col

colors of the teams.

alpha.f

factor modifying the opacity alpha of colors; typically in [0,1].

bw

real. the smoothing bandwidth to be used by density in seconds.

by

real. height of the interval between two teams in nb of submissions.

xlab, ylab

axis labels. see title.

bty, fg, col.axis, col.lab

graphical parameters. see par.

text.col

the color used for the legend text. see legend.

...

further parameters passed to plot function.

Value

NULL

See Also

density


rchallenge documentation built on May 29, 2017, 12:06 p.m.