Learn R Programming

AnalyzeFMRI (version 1.1-25)

eigenvalues: eigenvalues

Description

This function computes the eigenvalues of a centered and reduced data matrix

Usage

eigenvalues(X, draw = FALSE)

Value

A list containing

eigenvalues

vector of the eigenvalues

Arguments

X

a matrix of size tm x vm which contains the functionnal images centered and reduced

draw

Logical. Should we plot the eigenvalues

Examples

Run this code
X <- matrix(rnorm(5 * 4), nrow = 5, ncol = 4)
Xc <- centering(X, col.first = TRUE)$Xcentred
Xcr <- reduction(Xc, row.red = FALSE)$Xred
eigencr <- eigenvalues(Xcr, draw = FALSE)$eigenvalues

Run the code above in your browser using DataLab