Displaying 20 results from an estimated 5000 matches similar to: "La.eigen hangs R when NaN is present (PR#6003)"
2003 Nov 29
1
eigen of matrix of Inf hangs (PR#5406)
Full_Name: Patrick Burns
Version: 1.8.1
OS: Windows 2000
Submission from: (NULL) (81.129.3.151)
The command:
eigen(matrix(Inf, 2, 2))
causes version 1.8.1 to hang in both Windows 2000 and SuSe 8.2.
(Hang defined as apparently needing to kill the process in order
to get a prompt back.)
This is similar to bug #4366 where the same command used NaN
instead of Inf.
2004 Jan 15
1
Deprecate La.eigen?
I would like to deprecate La.eigen. It is used in a few packages
(ade4, fpc, gss, mvtnorm and smoothSurv on CRAN), but only in usages where
replacing `La.eigen' by `eigen' would call exactly the same code.
The reason for wanting to deprecate it is that little-used interfaces tend
to get overlooked, e.g. PR#5406, a report on eigen, needed to be applied
to La.eigen as well. We have also
2013 Jun 18
1
eigen(symmetric=TRUE) for complex matrices
R-3.0.1 rev 62743, binary downloaded from CRAN just now; macosx 10.8.3
Hello,
eigen(symmetric=TRUE) behaves strangely when given complex matrices.
The following two lines define 'A', a 100x100 (real) symmetric matrix
which theoretical considerations [Bochner's theorem] show to be positive
definite:
jj <- matrix(0,100,100)
A <- exp(-0.1*(row(jj)-col(jj))^2)
A's being
2010 May 21
2
Data reconstruction following PCA using Eigen function
Hi all,
As a molecular biologist by training, I'm fairly new to R (and statistics!),
and was hoping for some advice. First of all, I'd like to apologise if my
question is more methodological rather than relating to a specific R
function. I've done my best to search both in the forum and elsewhere but
can't seem to find an answer which works in practice.
I am carrying out
2010 Sep 22
3
eigen and svd
Dear R-helpers,
could anybody explain me briefly what is the difference between
eigenvectors returned by 'eigen' and 'svd' functions and how they are
related?
Thanks in advance
Ondrej Mikula
2003 Jun 10
1
Minor quibble with eigen and La.eigen (PR#3221)
Hi everyone,
It's a very minor point, but could we ensure that eigen and La.eigen
return a *matrix* for the "vectors" component of the list by including a
"drop = FALSE", as specified in the help file, ie put
list(values = z$values[ord], vectors = if (!only.values) z$vectors[,
ord, drop = FALSE])
Thanks, Jonathan.
--please do not edit the information
2005 Mar 14
1
r: eviews and r // eigen analysis
hi all
i have a question that about the eigen analysis found in R and in
eviews.
i used the same data set in the two packages and found different
answers. which is incorrect?
the data is:
aa ( a correlation matrix)
1 0.9801 0.9801 0.9801 0.9801
0.9801 1 0.9801 0.9801 0.9801
0.9801 0.9801 1 0.9801 0.9801
0.9801 0.9801 0.9801 1 0.9801
0.9801 0.9801 0.9801 0.9801 1
now
> svd(aa)
$d
[1] 4.9204
2005 Jul 04
1
eigen of a real pd symmetric matrix gives NaNs in $vector (PR#7987)
Full_Name: cajo ter Braak
Version: 2.1.1
OS: Windows
Submission from: (NULL) (137.224.10.105)
# I would like to attach the matrix C in the Rdata file; it is 50x50 and comes
from a geostatistical problem (spherical covariogram)
> rm(list=ls(all=TRUE))
> load(file= "test.eigen.Rdata")
> ls()
[1] "C" "eW"
>
> sym.check = max(abs(C - t(C))) # should
2003 Jun 09
1
understanding eigen(): getting non-normalized eigenvectors
Hi, dear R pros
I try to understand eigen(). I have seen, that eigen() gives the
eigenvectors normalized to unit length.
What shall I do to get the eigenvectors not normalized to unit length?
E.g. take the example:
A
[,1] [,2]
V1 0.7714286 -0.2571429
V2 -0.4224490 0.1408163
Calculating eigen(A) "by hand" gives the eigenvectors (example from
Backhaus,
2005 Apr 25
1
The eigen function
I'm using R version 2.0.1 on a Windows 2000 operating system. Here is some
actual code I executed:
> test
[,1] [,2]
[1,] 1000 500
[2,] 500 250
> eigen(test, symmetric=T)$values
[1] 1.250000e+03 -3.153033e-15
> eigen(test, symmetric=T)$values[2] >= 0
[1] FALSE
> eigen(test, symmetric=T, only.values=T)$values
[1] 1250 0
> eigen(test, symmetric=T,
2006 Aug 10
3
Geometrical Interpretation of Eigen value and Eigen vector
Dear all,
It is not a R related problem rather than statistical/mathematical. However
I am posting this query hoping that anyone can help me on this matter. My
problem is to get the Geometrical Interpretation of Eigen value and Eigen
vector of any square matrix. Can anyone give me a light on it?
Thanks and regards,
Arun
[[alternative HTML version deleted]]
2000 May 10
4
Q: Problems with eigen() vs. svd()
At 01:37 PM 5/10/00 +0200, ralle wrote:
>Hi,
>I have a problem understanding what is going on with eigen() for
>nonsymmetric matrices.
>Example:
>h<-rnorm(6)
>> dim(h)<-c(2,3)
>> c<-rnorm(6)
"c" is not a great choice of identifier!
>> dim(c)<-c(3,2)
>> Pi<-h %*% c
>> eigen(Pi)$values
>[1] 1.56216542 0.07147773
These could
2001 Sep 06
1
svd and eigen
Hello List,
i need help for eigen and svd functions. I have a non-symmetric
square matrix. These matrix is not positive (some eigenvalues are
negative). I want to diagonalise these matrix. So, I use svd and
eigen and i compare the results. eigen give me the "good" eigenvalues
(positive and negative). I compare with another software and the
results are the same. BUT, when i use svd,
2006 Jan 18
1
function 'eigen' (PR#8503)
Full_Name: Pierre Legendre
Version: 2.1.1
OS: Mac OSX 10.4.3
Submission from: (NULL) (132.204.120.81)
I am reporting the mis-behaviour of the function 'eigen' in 'base', for the
following input matrix:
A <- matrix(c(2,3,4,-1,3,1,1,-2,0),3,3)
eigen(A)
I obtain the following results, which are incorrect for eigenvalues and
eigenvectors 2 and 3 (incorrect imaginary portions):
2006 Mar 28
2
R crashes during 'eigen'
Hi all,
Hi,
When I want to compute the eigenvalues & eigenvectors of a specific
matrix, R crashes (i.e. it stops responding to any input). I've tried it
with different versions of R (2.1.1, 2.2.0, 2.2.1) - all with crashing
as result.
What I did before the crash was:
M <- as.matrix(read.table("thematrix",header=T))
eigen(M)
If, instead of eigen(M), I use eigen(M,
2008 Mar 03
1
Extracting data from Eigen function
Hi
I need to extract the data returned by Eigen to plot the eigenvectors.
However, when I try and eigv = eigen(covariance); it returns an object with
the matrices containing eigenvalues and vectors.. how can I extract the
eigenvector matrix from this??
When I try mat = eig["vectors"] it returns a matrix with the "$vectors"
string on top , how can I remove this?
code:
> eig
2004 Jul 27
4
Problems with Lapack's eigen() on 64-bit
I'm only now realizing that we have severe problems with R on our
AMD 'Opteron' and 'Athlon64' clients running Redhat Enterprise
with all 64-bit libraries (AFAICS).
The Lapack problem happens for R-patched and R-devel both on
the Opteron and the Athlon64.
Here are platform details:
o "gcc -v" and "g77 -v" both end with the line
gcc version 3.2.3
2006 Mar 03
1
NA in eigen()
Hi,
I am using eigen to get an eigen decomposition of a square, symmetric
matrix. For some reason, I am getting a column in my eigen vectors (the
52nd column out of 601) that is a column of all NAs. I am using the option,
symmetric=T for eigen. I just discovered that I do not get this behavior
when I use the option EISPACK=T. With EISPACK=T, the 52nd eigenvector is
(up to rounding error) a
1999 Apr 09
1
eigen
Eigen seems to be giving different results in 0.64 :
eigen(matrix(
c(0.00000000, 0.0000000, 0.00000000, 1.000000000,
0.01262442, -0.1141633, 0.04989433, 0.006112607,
0.04781087, 0.4177869, -0.15569656, 0.074242237,
0.20167331, 0.2531109, -0.04973573, 0.034046467) ,4,4))$values
R:
[1] 0.35519256 -0.29294606 -0.26637369 -0.03168619
S:
[1] 0.4689288205 -0.4246063863 -0.2810596564
2006 Oct 18
1
Calculation of Eigen values.
Dear all R users,
Can anyone tell me to calculate Eigen value of any real symmetric matrix
which algorithm R uses? Is it Jacobi method ? If not is it possible to get
explicit algorithm for calculating it?
Thanks and regards,
Arun
[[alternative HTML version deleted]]