or someone else can figure out why this error occurs.
Kind regards,
Coline
From: Emmanuel Paradis [mailto:emmanuel.para...@ird.fr]
Sent: Tuesday, 7 April 2020 05:15
To: Coline Boonman
Cc: r-sig-phylo
Subject: Re: [R-sig-phylo] Question on min(D.eig$values) in pcoa function of
ape in R
rom: Emmanuel Paradis [ [ mailto:emmanuel.para...@ird.fr |
>> mailto:emmanuel.para...@ird.fr ] ]
>> Sent: Thursday, 2 April 2020 07:43
>> To: Coline Boonman < [ mailto:c.boon...@science.ru.nl |
>> c.boon...@science.ru.nl
>> ] >
>> Cc: r-sig-phylo < [ mai
ent: Monday, 6 April 2020 16:47
To: Coline Boonman
Cc: r-sig-phylo
Subject: Re: [R-sig-phylo] Question on min(D.eig$values) in pcoa function of
ape in R
Hi Coline,
Actually the test would be:
any(is.complex(mat_dissim_Eucl))
And you may also test:
isSymmetric(as.mat
Paradis [mailto:emmanuel.para...@ird.fr]
Sent: Thursday, 2 April 2020 07:43
To: Coline Boonman
Cc: r-sig-phylo
Subject: Re: [R-sig-phylo] Question on min(D.eig$values) in pcoa function of
ape in R
Hi Coline,
This is strange: you calculate a distance matrix with daisy(), so
: r-sig-phylo
Subject: Re: [R-sig-phylo] Question on min(D.eig$values) in pcoa function of
ape in R
Hi Coline,
This is strange: you calculate a distance matrix with daisy(), so the
as.matrix() operation should return a symmetric matrix. Symmetric (real)
matrices have all their eigenvalues
Hi Coline,
This is strange: you calculate a distance matrix with daisy(), so the
as.matrix() operation should return a symmetric matrix. Symmetric (real)
matrices have all their eigenvalues real numbers. Maybe some complex values
were produced by daisy()?
Best,
Emmanuel
- Le 30 Mar
Dear reader,
I am working with the pcoa function of ape in R and I got the error message:
"min(D.eig$values) : invalid 'type' (complex) of argument" .
My input data is a distance matrix, which pcoa first converts to a matrix in
the first line within the code of the function. The error occurs