ourMELONS/man/linkage.Rd

32 lines
1,009 B
Text
Raw Permalink Normal View History

2020-07-14 14:33:20 +02:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/linkage.R
\name{linkage}
\alias{linkage}
\title{Linkage}
\usage{
2020-07-14 14:52:31 +02:00
linkage(Y, method = "co")
2020-07-14 14:33:20 +02:00
}
\arguments{
2020-07-31 14:05:40 +02:00
\item{Y}{matrix}
2020-07-14 14:33:20 +02:00
\item{method}{either 'si', 'av', 'co' 'ce' or 'wa'}
}
\description{
Create hierarchical cluster tree.
}
\details{
Z = LINKAGE(Y) creates a hierarchical cluster tree, using the single
linkage algorithm. The input Y is a distance matrix such as is generated by
PDIST. Y may also be a more general dissimilarity matrix conforming to the
output format of PDIST.
2020-07-31 14:05:40 +02:00
Z = linkage(X) returns a matrix Z that encodes a tree containing hierarchical clusters of the rows of the input data matrix X.
}
\note{
This is also a base MATLAB function. The reason why the BAPS
source code also contains a LINKAGE function is unclear. One could speculate
that BAPS should use this function instead of the base one, so this is why
this function is part of this package (instead of a MATLAB-replicating
package such as matlab2r)
2020-07-14 14:33:20 +02:00
}