Learn R Programming

loo (version 2.6.0)

.compute_point_estimate: Compute a point estimate from a draws object

Description

Compute a point estimate from a draws object

Usage

.compute_point_estimate(draws)

Value

A 1 by P matrix with point estimates from a draws object.

Arguments

draws

A draws object with draws from the posterior.

Details

This is a generic function to thin draws from arbitrary draws objects. The function is internal and should only be used by developers to enable loo_subsample() for arbitrary draws objects.