infoDim | R Documentation |
The function calculates a measure, called "information dimension".
infoDim(Matrix)
Matrix |
A matrix with data (rows = observations, columns = variables). |
A list (classes "list" and "infoDim") with fields:
Information dimension, rounded towards positive infinitive;
Information dimension (fractional, not rounded);
A vector of eigenvalues, normalized by sum of eigenvalues, which can be used to determine the importance of (principal) components;
A vector of eigenvalues;
A vector with integers from 1 to length(eigenvalues).
Vilmantas Gegzna
[1] R. Cangelosi and A. Goriely, Component retention in principal component analysis with application to cDNA microarray data. Biol Direct, 2, 2 (2007), http://dx.doi.org/10.1186/1745-6150-2-2
Other information dimension functions:
qplot_infoDim()
Other component analysis / factorisation related functions in spHelper:
getScores()
,
plot_spDiff()
,
qplot_infoDim()
,
qplot_kAmp()
,
qplot_kSp()
,
qplot_spc()
,
reconstructSp()
,
sortLoadings()
,
unipeak()
,
whichOutlier()
my_matrix <- matrix(rexp(200, rate=.1), ncol=20)
my_result <- infoDim(my_matrix)
# Investigate the result
str(my_result)
my_result$exactDim
my_result$dim
#Plot
my_plot <- qplot_infoDim(my_result)
my_plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.