Skip to content

Commit

Permalink
Merge branch 'TuomasBorman-clr_fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
jarioksa committed Jun 24, 2024
2 parents a185917 + 373da6f commit c234296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/decostand.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
# the sample-specific mean value and subtract every entries'
# value with that.
clog <- log(x)
means <- rowMeans(clog)
means <- rowMeans(clog, na.rm = na.rm)
clog <- clog - means
attr(clog, "parameters") <- list("means" = means,
"pseudocount" = pseudocount)
Expand Down

0 comments on commit c234296

Please sign in to comment.