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

add as.dist in varpart? #497

Closed
m-urvoy opened this issue Mar 2, 2022 · 1 comment
Closed

add as.dist in varpart? #497

m-urvoy opened this issue Mar 2, 2022 · 1 comment

Comments

@m-urvoy
Copy link

m-urvoy commented Mar 2, 2022

Hello,
I wanted to report a dumb mistake I made that could probably be easily avoided: I used dbrda and varpart with a distance formatted as a full matrix (instead of a lower triangle). Both functions worked without warning but varpart gave weird values (higher explained variance than dbrda). I (eventually) realized that the problem came from the matrix format and added an "as.dist" that fixed everything.
Perhaps it would be nice to add this in the varpart source code? It seems already present in the dbrda source code.
In any case, thank you very much for this package!
Marion

jarioksa added a commit that referenced this issue Mar 11, 2022
Distances in symmetric square matrix are handled similarly as in
dbRDA.
@jarioksa
Copy link
Contributor

Accepts now similar input as dbRDA and allows distances in symmetric square matrices.

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

No branches or pull requests

2 participants