Revision 4d37ecce6b3f6a5469d23eeba965d7de2f5ca70f authored by Björn Böttcher on 13 September 2018, 14:20:06 UTC, committed by cran-robot on 13 September 2018, 14:20:06 UTC
1 parent 441d15d
multivariances.all.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multivariance-functions.R
\name{multivariances.all}
\alias{multivariances.all}
\title{simultaneous computation of total/ 2-/ 3- /... multivariance}
\usage{
multivariances.all(x, vec = NA, Nscale = TRUE, squared = TRUE, ...)
}
\arguments{
\item{x}{either a data matrix or an array of centered distance matrices}
\item{vec}{if x is a matrix, then this indicates which columns are treated together as one sample; if x is an array, these are the indexes for which the multivariance is calculated. The default is all columns and all indexes, respectively.}
\item{Nscale}{if \code{TRUE} the multivariance is scaled up by the sample size (and thus it is exactly as required for the test of independence)}
\item{squared}{if \code{FALSE} it returns the actual multivariance, otherwise the squared multivariance (less computation)}
\item{...}{these are passed to \code{\link{cdms}} (which is only invoked if \code{x} is a matrix)}
}
\description{
Computes simultaneously multivariance, total multivariance, 2-multivariance and 3-multivariance.
}
\details{
The computation is faster than the seperate computations.
}
\examples{
x = coins(100,k = 3)
multivariances.all(x)
# yields the same as:
multivariance(x)
total.multivariance(x)
m.multivariance(x,m=2)
m.multivariance(x,m=3)
}
\seealso{
\code{\link{multivariance}}, \code{\link{total.multivariance}}, \code{\link{m.multivariance}}
}
Computing file changes ...