Description Usage Arguments Value Examples
a line plot
1 2 |
df |
a data.frame as input |
x |
the column for the x axis |
y |
the value for the y axis (use n if count is generated by the function) |
start |
start year (numeric) |
end |
end year (numeric) |
weight |
The column to use as the weight (e.g. organisation, country etc) |
plot
1 | ## Not run: trends(lens, x = "publication_year", y = n, start = 1990, end = 2016)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.