Description Usage Arguments Value
Assign data points to a set of nodes
1 2 | PartitionData(X, NodePositions, SquaredX = NULL, TrimmingRadius = Inf,
nCores = 1)
|
X |
an n-by-m numeric matrix with the coordinates of the data points |
NodePositions |
an k-by-m numeric matrix with the coordiante of the nodes |
SquaredX |
the sum by row of the squared positions rowSums(X^2). If NULL it will be calculated by the fucntion. |
TrimmingRadius |
Maximum distance of data points to the nodes to assign a point to a node |
nCores |
number of cores to use. |
A list containing two components: Partition (containing the associated nodes) and Dists (containing the squqred distance from the node)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.