varls2.Rd 729 Bytes
 Eric Coissac committed Jul 06, 2018 1 2 % Generated by roxygen2: do not edit by hand % Please edit documentation in R/mcov.R  Eric Coissac committed Jan 24, 2019 3 4 \name{varls2} \alias{varls2}  Eric Coissac committed Jul 06, 2018 5 6 \title{Compute the variance, covariance matrix of K coordinate matrices.} \usage{  Eric Coissac committed Jan 24, 2019 7 varls2(..., permutations = how(nperm = 999))  Eric Coissac committed Jul 06, 2018 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  Eric Coissac committed Jan 24, 2019 23 24  varls2(A,B,C) varls2(A=A,B=B,C=C)  Eric Coissac committed Jul 06, 2018 25 26 27  } \author{  Eric Coissac committed Jan 24, 2019 28 29 30 Eric Coissac Christelle Gonindard-Melodelima  Eric Coissac committed Jul 06, 2018 31 }