Skip to content

Commit

Permalink
Merge pull request #376 from stan-dev/fix-print-autocorrelation
Browse files Browse the repository at this point in the history
fix autocorrelation() not printing
  • Loading branch information
jgabry authored Nov 11, 2024
2 parents ed24471 + cb5b2b1 commit d0f8b76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/convergence.R
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ autocovariance <- function(x) {
autocorrelation <- function(x) {
ac <- autocovariance(x)
ac <- ac / ac[1]
ac
}

#' Rank normalization
Expand Down
1 change: 1 addition & 0 deletions R/misc.R
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,4 @@ has_s3_method <- function(f, signature) {
}
FALSE
}

0 comments on commit d0f8b76

Please sign in to comment.