https://github.com/cran/multivariance
Raw File
Tip revision: 441d15d268c9c110171300b51d5605c42c7022f0 authored by Björn Böttcher on 10 January 2018, 15:12:05 UTC
version 1.1.0
Tip revision: 441d15d
cdms.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multivariance-functions.R
\name{cdms}
\alias{cdms}
\title{computes the centered distance matrices}
\usage{
cdms(x, vec = 1:ncol(x), membership = NULL, ...)
}
\arguments{
\item{x}{matrix, each row is a sample}

\item{vec}{vector which indicates which columns are treated as one sample}

\item{membership}{depreciated. Now use \code{vec}.}

\item{...}{these are passed to \code{\link{cdm}}}
}
\value{
It returns an 3 dimensional array of the distance matrices. The index of the first dimension names the component for which the matrix is computed, thus it ranges from 1 to max(vec).
}
\description{
computes the centered distance matrices
}
back to top