zXbeta: Posterior samples of spatial effects and intercept for all...

zXbetaR Documentation

Posterior samples of spatial effects and intercept for all kernels in the presence of covariates

Description

For internal use only.

Usage

zXbeta(y, X, beta)

Arguments

y

response

X

covariates (supply as a matrix without intercept)

beta

posterior samples of \beta (supply as a matrix)

Value

A matrix of spatial effects and intercept. For internal use only.

Author(s)

Aritra Halder <aritra.halder@drexel.edu>,
Sudipto Banerjee <sudipto@ucla.edu>

Examples

## Not run: 
#####################
# Internal use only #
#####################
# Example usage inside of nimblewomble::zbeta_samples(...)
zXb = nimble::compileNimble(zXbeta)
zb.samples = zXb(y = y, X = X, beta = beta)

## End(Not run)

nimblewomble documentation built on April 12, 2025, 2:11 a.m.