plot_publication_curve {Diderot} | R Documentation |
Function to plot publication count timeseries
Description
This function plots and returns the annual number of publications.
Usage
plot_publication_curve(gr, labels, k = 1)
Arguments
gr |
Citation graph |
labels |
Labels (i.e. names) of the two corpora featured in the graph. |
k |
Text font size (multiplier of cex values) |
Value
Returns a dataframe containing year and annual publication count for each corpus and both together.
Author(s)
Christian Vincenot (christian@vincenot.biz)
See Also
Examples
labels<-c("Corpus1","Corpus2")
# Build a bibliographical dataset from Scopus exports
db<-create_bibliography(corpora_files=c(tempfi1,tempfi2),
labels=labels, keywords=NA)
# Build graph
gr<-build_graph(db=db,small.year.mismatch=TRUE, attrs=c("Corpus","Year","Authors"), nb.cores=1)
# Publication curve
plot_publication_curve(gr,labels)
[Package Diderot version 0.13 Index]