Description Usage Arguments Details Value Author(s) Examples

View source: R/canberraDistance.details.R

To show the formula and to return the Canberra distance of two clusters.

1 | ```
canberradistance.details(x, y)
``` |

`x` |
is a numeric vector or a matrix. It represents the values of a cluster. |

`y` |
is a numeric vector or a matrix. It represents the values of a cluster. |

This function is part of the hierarchical clusterization method. The function calculates the
Canberra distance value from `x`

and `y`

.

canberra distance value with its formula.

Roberto Alcántara roberto.alcantara@edu.uah.es

Juan José Cuadrado jjcg@uah.es

Universidad de Alcalá de Henares

1 2 3 4 5 6 7 8 9 | ```
x <- c(1,2)
y <- c(1,3)
cluster1 <- matrix(x,ncol=2)
cluster2 <- matrix(y,ncol=2)
canberradistance(x,y)
canberradistance(cluster1,cluster2)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.