@@ -174,7 +174,7 @@ ppc_loo_pit_overlay <- function(y,
174
174
adjust = 1 ,
175
175
kernel = " gaussian" ,
176
176
n_dens = 1024 ) {
177
- check_ignored_arguments(... )
177
+ check_ignored_arguments(... , ok_args = list ( " moment_match " ) )
178
178
179
179
data <-
180
180
ppc_loo_pit_data(
@@ -333,7 +333,7 @@ ppc_loo_pit_qq <- function(y,
333
333
compare = c(" uniform" , " normal" ),
334
334
size = 2 ,
335
335
alpha = 1 ) {
336
- check_ignored_arguments(... )
336
+ check_ignored_arguments(... , ok_args = list ( " moment_match " ) )
337
337
338
338
compare <- match.arg(compare )
339
339
if (! is.null(pit )) {
@@ -409,7 +409,7 @@ ppc_loo_pit_ecdf <- function(y,
409
409
prob = .99 ,
410
410
plot_diff = FALSE ,
411
411
interpolate_adj = NULL ) {
412
- check_ignored_arguments(... )
412
+ check_ignored_arguments(... , ok_args = list ( " moment_match " ) )
413
413
414
414
if (! is.null(pit )) {
415
415
inform(" 'pit' specified so ignoring 'y','yrep','lw' if specified." )
@@ -534,7 +534,7 @@ ppc_loo_intervals <-
534
534
fatten = 2.5 ,
535
535
linewidth = 1 ,
536
536
order = c(" index" , " median" )) {
537
- check_ignored_arguments(... )
537
+ check_ignored_arguments(... , ok_args = list ( " moment_match " ) )
538
538
y <- validate_y(y )
539
539
order_by_median <- match.arg(order ) == " median"
540
540
if (! is.null(intervals )) {
@@ -626,7 +626,7 @@ ppc_loo_ribbon <-
626
626
prob_outer = 0.9 ,
627
627
alpha = 0.33 ,
628
628
size = 0.25 ) {
629
- check_ignored_arguments(... )
629
+ check_ignored_arguments(... , ok_args = list ( " moment_match " ) )
630
630
y <- validate_y(y )
631
631
if (! is.null(intervals )) {
632
632
stopifnot(is.matrix(intervals ), ncol(intervals ) %in% c(3 , 5 ))
0 commit comments