Description Usage Arguments Value Author(s) Examples
Reduces a variate/statistical/network image to a set of centroids describing the center of each stand-alone non-zero component in the image.
1 | centroids<-getCentroids( img )
|
img |
the image to reduce to centroids - presumably some kind of statistical or network map |
threshparam |
thresholds the input image at mean( img[ img > 0 ] ) - threshparam * sdev( img[ img > 0 ] ) |
clustparam |
ignore post-threshold clusters smaller than this value |
the centroids are output in matrix of size npoints by 3
Avants BB
1 2 3 4 | ## Not run:
getCentroids( f , clustparam = 250, threshparam = 0 )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.