distance.matrix: The Distance between each pair of points of the given...

Description Usage Arguments Value

View source: R/gbc.R

Description

The Distance between each pair of points of the given dataset. A function to compute distances (euclidean, manhattan or any d-distance) between the points within the given dataset.

Usage

1
distance.matrix(dataset)

Arguments

dataset

Any given dataset, any (.txt, .csv,..ect.), such that the separator between its columns and lines should be a blank space " ", and the number of its observations (lines) and the number of its features should be a moderate number (not too large), and the type of its elements (attributes) should be of numerical type (continous or multivalued values) for calculating the distances. and the observations with missing values should be removed from the dataset (and note that you can use the Milligan Cooper method to standardize the dataset's values).

Value

The function returns the distance matrix of all the dataset, distances between each pair of nodes within this dataset. distance.matrix(dataset)


Kahi-Na/Algorithme-GBC documentation built on May 4, 2019, 3:11 a.m.