Skip to content

Commit

Permalink
Update Hotelling's test for paired t-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aubreyodom committed Feb 6, 2025
1 parent c1cbe1a commit e9be343
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: LegATo
Title: LegATo: Longitudinal mEtaGenomic Analysis Toolkit
Version: 1.1.0
Version: 1.1.1
Authors@R: c(
person("Aubrey", "Odom", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-7113-7598")),
Expand Down Expand Up @@ -72,4 +72,4 @@ Config/testthat/edition: 3
Encoding: UTF-8
Language: en-US
LazyData: FALSE
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
2 changes: 1 addition & 1 deletion R/test_hotelling_t2.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
for_testing <- input_data %>% dplyr::filter(.data$Taxon == tax)
out_test <- stats::t.test(stats::formula("Abundance ~ Populations"), for_testing,
alternative = "two.sided",
var.equal = FALSE, paired = FALSE)
var.equal = FALSE)
return(list(t = out_test$statistic, df = out_test$parameter,
diff_means = out_test$estimate[1],
CI_2.5 = out_test$conf.int[1],
Expand Down

0 comments on commit e9be343

Please sign in to comment.