logprrho: Log-prior density for the spatial autocorrelation parameter...

Description Usage Arguments Details Value Author(s) Examples

View source: R/SE-utils.R

Description

Compute log-prior density for rho

Usage

1
logprrho(rho)

Arguments

rho

The value to compute the log-density.

Details

This function computes the log-density of the prior for rho according to logit(rho) ~ N(0, prec=.1). THis is one of the default priors in R-INLA for spatial autocorrelation parameters.

Value

Numerical.

Author(s)

Virgilio G<f3>mez-Rubio <virgilio.gomez@uclm.es>

Examples

1
2
rrho<-seq(.01, .99, length.out=100)
plot(rrho, exp(logprrho(rrho)))

INLABMA documentation built on May 2, 2019, 4:42 p.m.

Related to logprrho in INLABMA...