plot_timeline | R Documentation |
Plot timeline for selected variable (possibly across various groups).
plot_timeline( data, x, y = "n", group = NULL, nmin = 0, mode = "absolute", time.window = 10 )
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). |
List:
plotggplot object
tablesummary table
Leo Lahti leo.lahti@iki.fi
See citation("bibliographica")
## Not run: plot_timeline(df, "publication_year")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.