R/sampling_curves.R
plot_prop_identified.Rd
Plot proportion of targets identified versus connections tested
plot_prop_identified(x, conn_threshold = 1, sample = FALSE, ...)
x | A |
---|---|
conn_threshold | A (vector of) absolute connection thresholds (i.e. integral number of partners). A threshold of 1 (the default) implies partners with 1 or more connections (i.e. all partners). |
sample | Whether to randomise the sampling order |
... | Arguments passed on to
|
scuniform=samplingcurve(rep(1:20,10)) # no randomisation, which reveals the non-random order of connections in the # scuinform object plot_prop_identified(scuniform)# randomising partner order plot_prop_identified(scuniform, sample=TRUE)plot_prop_identified(scuniform, conn_threshold=1:3, sample=TRUE)