Learn R Programming

loo (version 1.1.0)

print.loo: Print method for 'loo' objects

Description

Print method for 'loo' objects

Usage

# S3 method for loo
print(x, digits = 1, plot_k = FALSE, ...)

Arguments

x

A list with class 'loo' (as returned by loo or waic).

digits

An integer passed to round.

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.

...

Arguments passed to plot.loo if plot_k is TRUE.

Value

x, invisibly.

See Also

pareto-k-diagnostic