cl.features: Clustering features

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/cl.feature.R

Description

Select clustering characteristic to form the clustering data

Usage

1
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

1
2
3
4
cl.features(city_data, features = 'Administrative_Unit')

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

Cluster.OBeu documentation built on Dec. 18, 2019, 1:51 a.m.