Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in ordConstrained(X, Y, Z, arg = scale, method = "rda") : dependent data and constraints must have the same number of rows #703

Open
Coral4 opened this issue Oct 24, 2024 · 1 comment

Comments

@Coral4
Copy link

Coral4 commented Oct 24, 2024

Hi there,

I am running an RDA with the following code:

rda(X, Y)

where X is a df containing the vectors of a Pcoa, and Y is a dataframe containing environmental variables.

dim(X) = 422 421
dim(Y) = 422 22

But I still get the following error:

Error in ordConstrained(X, Y, Z, arg = scale, method = "rda") : dependent data and constraints must have the same number of rows

Any thoughts would be appreciated!

Best,
Coral

@jarioksa
Copy link
Contributor

No idea. I cannot reproduce this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants