zXbeta {nimblewomble}R 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)

[Package nimblewomble version 0.1.0 Index]