a line plot
trends(df, x = NULL, y = NULL, start = NULL, end = NULL, weight = NULL)
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
# NOT RUN { trends(lens, x = "publication_year", y = n, start = 1990, end = 2016) # }