Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
CajoterBraak authored Feb 15, 2024
1 parent 20af40f commit aad5ebb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ LazyData: true
Imports: stats, vegan, ade4, ggplot2, gridExtra
RoxygenNote: 7.3.0
NeedsCompilation: no
Packaged: 2024-02-15 11:02:46 UTC; braak008
Packaged: 2024-02-15 11:25:30 UTC; braak008
Author: Cajo J.F ter Braak [aut, cre] (<https://orcid.org/0000-0002-0414-8745>)
4 changes: 2 additions & 2 deletions R/scores.dccav.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ scores.dccav <- function(x, choices=c(1,2), display= c("all"), which_cor = "in m
species_axes <- f_trait_axes(x)
} else if ("species_axes"%in%names(x)){c_env_normed <- x$c_env_normed; species_axes<- x$species_axes}

if (scaling == "sites") myconst <- sqrt(nrow(out$RDAonEnv$CCA$u)*x$RDAonEnv$tot.chi) else
if (scaling == "species") myconst <- sqrt(nrow(out$RDAonEnv$CCA$u))
if (scaling == "sites") myconst <- sqrt(nrow(x$RDAonEnv$CCA$u)*x$RDAonEnv$tot.chi) else
if (scaling == "species") myconst <- sqrt(nrow(x$RDAonEnv$CCA$u))

if (tidy) regchoices <- choices+3 else regchoices <- c(1:3, choices+3) # coefs only (tidy) or with mean,sd,vif

Expand Down
Binary file modified build/partial.rdb
Binary file not shown.

0 comments on commit aad5ebb

Please sign in to comment.