gev.init: Initilizes a state object for a Spatial GEV distribution

Description Usage Arguments Value Author(s)

View source: R/gev.R

Description

This utility function just initializes the state object that is then passed around during the course of an MCMC for a hierarchical spatial GEV distribution. It starts the object in a nice spot and fills in the relevant items.

Usage

1
gev.init(Y.list, X.all, S, prior.user, full, fixed.xi)

Arguments

Y.list

The list of Y values

X.all

The matrix of covariates

S

The matrix of spatial locations

prior.user

The user-specified prior parameters, if there are any

full

A boolean indicating if BMA is to be performed

fixed.xi

An indication if the parameter xi is to be estimated (NULL) or set to a given value.

Value

This returns a state object that is then used for the MCMC by the main updating routines.

Author(s)

Alex Lenkoski <[email protected]>


spatial.gev.bma documentation built on May 29, 2017, 9:10 a.m.