Skip to content

Commit

Permalink
A contrast needs to return the contrasts
Browse files Browse the repository at this point in the history
  • Loading branch information
singmann authored Sep 7, 2023
1 parent 7074d3c commit d9add19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/contr.equalprior.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ contr.equalprior <- function(n, contrasts = TRUE, sparse = FALSE) {
#' @rdname contr.equalprior
contr.equalprior_pairs <- function(n, contrasts = TRUE, sparse = FALSE) {
contr <- contr.equalprior(n, contrasts, sparse) / sqrt(2)
contr
}

#' @export
Expand Down

0 comments on commit d9add19

Please sign in to comment.