powered by
Select clustering characteristic to form the clustering data
cl.features(data, features = NULL, amounts = NULL, aggregate = "sum", tojson = FALSE )
The input data
The clustering features
The amount measures of the dataset
The function to aggregate
If TRUE the results are returned in json format, default returns a list
This function returns the dataset for cluster analysis adapted to the desired features.
This function adapts the dataset according to the selected dimension of the dataset and the aggregation function.
cl.analysis
# NOT RUN { cl.features(city_data, features = 'Administrative_Unit') # works also for other datasets cl.features(iris, features = 'Species') # }
Run the code above in your browser using DataLab