Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
[skip]
  • Loading branch information
mattansb committed Nov 7, 2023
1 parent 5eb5ea0 commit 6e9f42c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion R/mahalanobis_D.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ mahalanobis_d <- function(x, y = NULL, data = NULL,
pooled_cov = TRUE, mu = 0,
ci = 0.95, alternative = "greater",
verbose = TRUE, ...) {
# TODO add one sample case DV1 + DV2 ~ 1
# TODO add paired samples case DV1 + DV2 ~ 1 | ID
alternative <- .match.alt(alternative, FALSE)
data <- .get_data_multivariate(x, y, data, verbose = verbose, ...)
Expand Down
1 change: 1 addition & 0 deletions R/repeated_measures_d.R
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ repeated_measures_d <- function(x, y,
out <- data.frame(d = values[["d"]])

if (.test_ci(ci)) {
# TODO use ncp
# Add cis
out$CI <- ci
ci.level <- .adjust_ci(ci, alternative)
Expand Down

0 comments on commit 6e9f42c

Please sign in to comment.