Skip to contents

Simply fits a constant (the mean). This is useful as a benchmark for other models.

Usage

constant_aghq(sf, k = 3, ii = NULL)

Arguments

sf

A simple features object with some geometry.

k

Number of quadrature points per hyperparameter dimension.

ii

The (zero-indexed) indices of the observations held-out.

Examples

constant_aghq(mw)
#> Error in nrow(sf): object 'mw' not found