Function to plot the heterocitation share and heterocitation balance timeseries
Function to plot the heterocitation share and heterocitation balance timeseries
This function plots and returns annual heterocitation share and heterocitation balance values.
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.
Returns
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.).