Description Usage Arguments Value Author(s) Examples
View source: R/spatial.mixture.R
Calculate contiguous clusters of locations in a 3D array that are above some threshold and with some minimum size.
1 | cluster.threshold(x, nmat = NULL, level.thr = 0.5, size.thr)
|
x |
A 3D array |
nmat |
A matrix with 3 columns specifying the neighbourhood system. Default is 6 nearest neighbours in 3D. |
level.thr |
The level at which to threshold the array values. Default is 0.5 and is designed to cluster 0-1 arrays. |
size.thr |
The cluster size threshold. |
Returns an array of the same size as x with a 1 at all locations which have a value above level.thr and are in a cluster of similiar locations with size greater than size.thr.
J. L. Marchini
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.