pointwise {loo} | R Documentation |
Convenience function for extracting pointwise estimates
Description
Convenience function for extracting pointwise estimates
Usage
pointwise(x, estimate, ...)
## S3 method for class 'loo'
pointwise(x, estimate, ...)
Arguments
x |
A |
estimate |
Which pointwise estimate to return. By default all are
returned. The objects returned by the different functions ( |
... |
Currently ignored. |
Value
A vector of length equal to the number of observations.
Examples
x <- loo(example_loglik_array())
pointwise(x, "elpd_loo")
[Package loo version 2.8.0 Index]