Description Usage Arguments Details Value
takes a pairwise distance matrix - negative distance represent edges and produces residuals.
1 2 | get_residuals_wrapper(dist, p, q, s, PA_model = NULL, sample_size = NULL,
n_samples)
|
dist |
pairwise distance matrix |
p |
erdos probability |
q |
waxman parameter |
s |
waxman parameter |
PA_model |
empirical model that gives prob for given node age if NULL does not calculate |
sample_size |
size of sample subgraph, if null calculates using formula in paper |
n_samples |
number of residuals to obtain |
For erdos it needs p, for waxman it needs s and q, for Barabasi it needs empirical function between node age and prob of an edge
data frame of residuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.