Skip to content

Commit

Permalink
Merge branch 'issue-#190'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jari Oksanen committed Aug 23, 2016
2 parents fe46be7 + 4026ba4 commit d6ba8b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/goodness.cca.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
## imaginary dimensions for dbrda
if (inherits(object, "dbrda"))
CA <- cbind(CA, object[[model]][["imaginary.u"]])
## take only chosen axes within the component
if (!missing(choices)) {
choices <- choices[choices <= ncol(CA)]
CA <- CA[, choices, drop = FALSE]
eig <- eig[choices]
}
att <- attributes(CA)
if (inherits(object, "rda"))
nr <- nobs(object) - 1
Expand Down

0 comments on commit d6ba8b9

Please sign in to comment.