plot_heterocitation_timeseries {Diderot} | R Documentation |
Function to plot the heterocitation share and heterocitation balance timeseries
Description
This function plots and returns annual heterocitation share and heterocitation balance values.
Usage
plot_heterocitation_timeseries(gr_arg, labels, mini = -1, maxi = -1, cesure = -1)
Arguments
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. |
Value
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.).
Author(s)
Christian Vincenot (christian@vincenot.biz)
See Also
precompute_heterocitation
, heterocitation
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)
# Heterocitation timeseries
gr<-precompute_heterocitation(gr,labels, 1990, 2018)
plot_heterocitation_timeseries(gr, labels, 1990, 2018)
[Package Diderot version 0.13 Index]