cl.features {Cluster.OBeu}R Documentation

Clustering features

Description

Select clustering characteristic to form the clustering data

Usage

cl.features(data, features = NULL, amounts = NULL, aggregate = "sum", tojson = FALSE )

Arguments

data

The input data

features

The clustering features

amounts

The amount measures of the dataset

aggregate

The function to aggregate

tojson

If TRUE the results are returned in json format, default returns a list

Details

This function adapts the dataset according to the selected dimension of the dataset and the aggregation function.

Value

This function returns the dataset for cluster analysis adapted to the desired features.

Author(s)

Kleanthis Koupidis

See Also

cl.analysis

Examples

cl.features(city_data, features = 'Administrative_Unit')

# works also for other datasets
cl.features(iris, features = 'Species')

[Package Cluster.OBeu version 1.2.3 Index]