canopy {clustering} |
R Documentation |
auto detects k centers for k-means and generates the initial center seeds.
Description
Usage
canopy(x,
T1 = NaN,
T2 = NaN,
seed = TRUE);
Arguments
x
-
T1
[as double]
T2
[as double]
seed
use the canopy method as kmeans seed or just used for clustering?
set this parameter to value true means used the result as seed, then a seed object of
type CanopySeeds will be generated from this function. otherwise parameter
value false means the result is a collection of the Cluster
result, you can convert the cluster result to a dataframe via as.data.frame
method. [as boolean]
env
[as Environment]
Details
value of `T1` should greater than `T2`, example as:
T1 = 8 and T2 = 4
Authors
MLkit
Value
this function returns data object of type
any kind.
clr value class
Examples
[Package
clustering version 1.0.0.0
Index]