plot_timeline: Timeline Plot

Description Usage Arguments Value Author(s) References Examples

View source: R/plot_timeline.R

Description

Plot timeline for selected variable (possibly across various groups).

Usage

1
2
plot_timeline(data, x, y = "n", group = NULL, nmin = 0,
  mode = "absolute", time.window = 10)

Arguments

data

data.frame for plotting

x

time variable. Numeric field to summarize in the timeline. The number of entries (title count) per decade is shown by default.

y

outcome variable

group

Optional. Name for a data field that indicates groups to compare. If given, the different groups are indicated by lines.

nmin

Include only entries with at least nmin absolute frequency

mode

"absolute" or "relative"

time.window

Time window for the timeline in years. Default: 10 (publication decade).

Value

List:

Author(s)

Leo Lahti [email protected]

References

See citation("bibliographica")

Examples

1
## Not run: plot_timeline(df, "publication_year")

rOpenGov/bibliographica documentation built on Nov. 19, 2018, 10:55 a.m.