Description Usage Arguments Details Author(s) See Also Examples
Display images of the correlation matrices within and between two data matrices.
1 | img.matcor(correl, type = 1)
|
correl |
Correlation matrices as returned by the |
type |
character determining the kind of plots to be produced: either one ((p+q) * (p+q)) matrix or three matrices (p * p), (q * q) and (p * q) |
Matrices are pre-processed before calling the image()
function in order to
get, as in the numerical representation, the diagonal from upper-left corner to
bottom-right one.
Sébastien Déjean, Ignacio González
1 2 3 4 5 6 | data(nutrimouse)
X=as.matrix(nutrimouse$gene)
Y=as.matrix(nutrimouse$lipid)
correl=matcor(X,Y)
img.matcor(correl)
img.matcor(correl,type=2)
|
Loading required package: fda
Loading required package: splines
Loading required package: Matrix
Attaching package: 'fda'
The following object is masked from 'package:graphics':
matplot
Loading required package: fields
Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
Attaching package: 'spam'
The following objects are masked from 'package:base':
backsolve, forwardsolve
Loading required package: maps
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.