Skip to content

Commit

Permalink
vegemite: sp.ind was not honoured with factor use & diagonalize
Browse files Browse the repository at this point in the history
  • Loading branch information
jarioksa committed Jun 19, 2024
1 parent 1ae7c57 commit ed76ad0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/vegemite.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
}
## order factors and sites within factor levels
site.ind <- order(ord$constraints, ord$sites)
sp.ind <- order(ord$species)
if (is.null(sp.ind))
sp.ind <- order(ord$species)
}
if (is.null(site.ind))
site.ind <- order(tmp)
Expand Down

0 comments on commit ed76ad0

Please sign in to comment.