Description Usage Arguments Examples
View source: R/sampling_curves.R
Plot proportion of targets identified versus connections tested
1 | 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
|
1 2 3 4 5 6 7 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.