Skip to content

Commit

Permalink
Merge pull request #622 from singmann/patch-1
Browse files Browse the repository at this point in the history
Small bug in `contr.equalprior_pairs`
  • Loading branch information
mattansb authored Sep 7, 2023
2 parents 7074d3c + d9add19 commit 2193a4f
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 2193a4f

Please sign in to comment.