Description Usage Arguments Details Value Author(s) Examples
A helper function which creates a base for a new TURN-RES iteration. This function will agglomerate
specified clusters and return a cluster membership vector that can be used in the base.cls
argument
in clsTurnRes.
1 | clsSpecifyBase(x, clusters, trim = 0.05)
|
x |
a cTurn object containing the clustering to be used. |
clusters |
a vector the same length as the number of clusters |
trim |
optional Specifies whether the existing clusters are to be trimmed. By default, this value is set to 0.05, which will trim 0.025 quantiles off either end of each cluster in every dimension. Clearly setting this parameter to 0 will remove this feature. |
This is designed to be used with the base.cls
argument of a cTurn object. Hence trimming each cluster
can be helpful if some of the edge datapoints are not representative of the rest of the cluster.
A vector corresponding to a grouped and trimmed version of the cluster membership vector of a cTurn
object.
Alex Bird, alex.bird@boots.co.uk
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.