Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIssue #198: permutest(<dbrda-result>, first = TRUE) fails #199
Conversation
suggested fix to github issue #198: permutest (and hence anova) failed when first=TRUE was requested
…ents cast to oldCapscale (with message) and use old non-distance-based analysis.
now we guarantee a symmetric input and tell eigen() that symmetric = TRUE, and permutest(<dbrda-object>, first=TRUE) is almost 2x faster.
Current coverage is 22.06% (diff: 60.00%)@@ master #199 diff @@
==========================================
Files 450 450
Lines 18451 18456 +5
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 4072 4072
- Misses 14379 14384 +5
Partials 0 0
|
b7e6969
into
master
This PR fixes following problems:
permutest(<dbrda-result>, first = TRUE)fails as reported in issue #198. The comments to issue #198 explain the reasons and fix in more detail. Commits 0f4cf0c and 346ea39capscaleuses only real dimensions in finding the eigenvalues, andfirst=TRUEcannot be analysed similarly as withdbrda. Commit daa34e6eigenwhen it tried to find out if the input matrix was symmetric. Now the input is guaranteed to be symmetric, and telling this toeigencan make the function to run almost 2x faster. Commit c76a1be