print.loo: Print methods

Description Usage Arguments Value See Also

View source: R/print.R

Description

Print methods

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'loo'
print(x, digits = 1, ...)

## S3 method for class 'waic'
print(x, digits = 1, ...)

## S3 method for class 'psis_loo'
print(x, digits = 1, plot_k = FALSE, ...)

## S3 method for class 'psis'
print(x, digits = 1, plot_k = FALSE, ...)

Arguments

x

An object returned by loo, psis, or waic.

digits

An integer passed to round.

...

Arguments passed to plot.psis_loo if plot_k is TRUE.

plot_k

Logical. If TRUE the estimates of the Pareto shape parameter k are plotted. Ignored if x was generated by waic. To just plot k without printing use the plot method.

Value

x, invisibly.

See Also

pareto-k-diagnostic


loo documentation built on April 11, 2018, 5:04 p.m.