Dear Oleg,
Thank you so much for your advice! But I tried to update the packages and
check whether the problem is fixed. But I end up with the same error.
Error in dimnames(phi) - list(rn, dims) :
length of 'dimnames' [2] not equal to array extent
It seems to me that, what I got to update from
Dear Yonas,
It usually takes some time until a Windows binary version is available
on R-Forge. It is version 0.61 you want here.
So, you can either install the source version using
install.packages(ca, repos=http://R-Forge.R-project.org;,
type=source)
or manually download and install the
I think this is a bug in the current version of ca() in package ca. I am
copying the package maintainer with this example:
# Reproducible example from manual page for ca():
library(ca)
data(author)
author.ca - ca(author) # No problem
author.ca - ca(author, nd=3)
Error in dimnames(phi) -
David, Thanks for forwarding this to me.
Yonas, Please try updating your ca package to version 0.61 which fixes
this issue. This is not the latest official CRAN version, so get it from
R-forge via
update.packages(ca, repos = http://r-forge.r-project.org;)
All the best,
Oleg.
On 18/05/2015
You desperately need to study [1] and the Posting Guide mentioned at the bottom
of this and every other message on this list.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Hi Yonas,
If this is the ca function from the package of the same name, it
looks to me as though your data set is only two dimensions and you are
requesting 3 dimensions in the output. Have you tried calling ca with
the default nd=NA?
Jim
On Mon, May 18, 2015 at 3:22 AM, Jeff Newmiller
Dears,
I have presence and absence data set (8 rows and 33 columns) and when I
want to get out of the default two dimensions command using summary(ca(mydata,
nd=3)) the following error message displyed:
Error in dimnames(phi) - list(rn, dims) :
length of 'dimnames' [2] not equal to array extent
7 matches
Mail list logo