varls2.Rd 729 Bytes
Newer Older
Eric Coissac committed
1 2
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mcov.R
3 4
\name{varls2}
\alias{varls2}
Eric Coissac committed
5 6
\title{Compute the variance, covariance matrix of K coordinate matrices.}
\usage{
7
varls2(..., permutations = how(nperm = 999))
Eric Coissac committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
}
\arguments{
\item{...}{the set of matrices}
}
\description{
Covariance between two matrices is defined as the sum of the
sigular values of the X'Y matrix. All the matrices must have
the same number of rows.
}
\examples{
   # Build Three matrices of 3 rows.
   A <- matrix(1:9,nrow=3)
   B <- matrix(10:15,nrow=3)
   C <- matrix(20:31,nrow=3)
   # compute the variance covariance matrix
23 24
   varls2(A,B,C)
   varls2(A=A,B=B,C=C)
Eric Coissac committed
25 26 27

}
\author{
28 29 30
Eric Coissac

Christelle Gonindard-Melodelima
Eric Coissac committed
31
}