gp_flat: Flat prior for GP parameters (log sigma, xi)

View source: R/priors.R

gp_flatR Documentation

Flat prior for GP parameters (log \sigma, \xi)

Description

For information about this and other priors see set_prior.

Usage

gp_flat(pars, min_xi = -Inf, max_xi = Inf, trendsd = 0)

Arguments

pars

A numeric vector of length 2. GP parameters (\sigma, \xi).

min_xi

A numeric scalar. Prior lower bound on \xi. Must not be -Inf because this results in an improper posterior.

max_xi

A numeric scalar. Prior upper bound on \xi.

trendsd

Has no function other than to achieve compatibility with function in the evdbayes package.

Value

The log of the prior density.


paulnorthrop/revdbayes documentation built on March 20, 2024, 1:01 a.m.