Description Usage Arguments Value Author(s) See Also Examples
This function plots and returns annual heterocitation share and heterocitation balance values.
1 | plot_heterocitation_timeseries(gr_arg, labels, mini = -1, maxi = -1, cesure = -1)
|
gr_arg |
Citation graph |
labels |
Labels (i.e. names) of the two corpora featured in the graph. |
mini |
Start year of the time window |
maxi |
End year of the time window |
cesure |
Year before which values should be cumulated. Default value is -1, which indicates that each year in the time window should be plotted. |
Returns a dataframe with year and annual values for heterocitation share (sx1, sx2 and sxall for corpus A and B and global resp.) and heterocitation balance (dx1, dx2 and dxall for corpus A and B and global resp.).
Christian Vincenot (christian@vincenot.biz)
precompute_heterocitation
, heterocitation
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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)
# Heterocitation timeseries
gr<-precompute_heterocitation(gr,labels, 1990, 2018)
plot_heterocitation_timeseries(gr, labels, 1990, 2018)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.