weight_sg | R Documentation |
For each edge e(i,j) between points i,j, set the weight f(||x_i-x_j||)
weight_sg(g, x, f = function(x) exp(-x^2/scale), scale = 1, ...)
g |
sg object |
x |
point pattern used in g |
f |
function for the weight |
scale |
additional scale parameter for the default f |
... |
ignored |
Default f(x) = exp(-x^2/scale)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.