MC_baseline_distribution {Diderot} | R Documentation |
This function performs Monte Carlo runs with random permutations of corpus tags in the graph provided and computes the heterocitation balance on the new graphs. Permutation is repeated over several iterations (set through the "rep" argument) and provides a baseline Dx values for the graph topology considered. This can then be compared with the Dx value obtained for the original graph to evaluate whether it could merely be the result of chance (see significance_Dx
).
MC_baseline_distribution(gr, labels, infYearLimit, supYearLimit, rep = 20)
gr |
Graph file (created with build_graph) |
labels |
List of the names of the two corpora studied (e.g. c("Computer Science", "Mathematics")), present in the "Corpus" attribute |
infYearLimit |
Minimum year considered in this study |
supYearLimit |
Maximum year considered in this study |
rep |
Number of Monte Carlo iterations |
This function currently plots the histograms of distribution of Dx values generated through random permutations of corpus tags among the records. Returns a list containing:
Dx1 |
Dx value for corpus 1 per iteration |
Dx1 |
Dx value for corpus 2 per iteration |
DxALL |
Global Dx value per iteration |
Christian Vincenot (christian@vincenot.biz)
significance_Dx
, heterocitation