connectCPP | R Documentation |
The values and ds pixels should match; i.e., values[i] is the value for pixel i, and dsPixel[i] is that pixel's downstream pixel
connectCPP(dsPixel, upstream, downstream, value)
dsPixel |
A vector of downstream pixels, diPixel[i] is downstream from pixel i |
upstream |
The id of the upstream point |
downstream |
The id of the downstream point |
value |
A vector of values to accumulate |
A list, the first entry is the connected pixels, the second the accumulation up to (but excluding) each pixel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.