Skip to content

Commit c59414e

Browse files
avehtarijgabry
andauthored
Use function()
Co-authored-by: Jonah Gabry <[email protected]>
1 parent 77e753f commit c59414e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/loo_compare.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ loo_compare.default <- function(x, ...) {
169169

170170
# get khats for PSIS
171171
khat_psis <- sapply(loos[ord],
172-
\(loo) {
172+
function(loo) {
173173
k <- loo$diagnostics[["pareto_k"]]
174174
if (is.null(k)) {
175175
out = ""

0 commit comments

Comments
 (0)