Description Usage Arguments Details Value Author(s) See Also Examples
A method to cluster a number of samples using a relational (dissimila
1 |
dist |
pairwise distance matrix |
clusters |
final number of clusters |
runs |
number of randomizations to run |
counter |
use counter to display current run number |
This function will return a cluster identity vector. The number of clusters requested must be 2 or greater, but 1/2 or less than the total number of samples, as the function requires at least 2 samples per cluster.
The vector returned will be the same length as the number of samples provided in the original dist
matrix. The samples will have been clustered into the same number of clusters as defined in clusters
Matthew Vavrek
rclust.dist
, rclust.null
, rclust.weights
and coi
1 2 3 4 |
Loading required package: sp
Loading required package: maps
Loading required package: shapefiles
Loading required package: foreign
Attaching package: ‘shapefiles’
The following objects are masked from ‘package:foreign’:
read.dbf, write.dbf
[1] 2 1 1 2 2 1 2 2 1 1 1 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.