Learn R Programming

nimblewomble (version 0.1.0)

zXbeta: 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)

Value

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

Arguments

y

response

X

covariates (supply as a matrix without intercept)

beta

posterior samples of \(\beta\) (supply as a matrix)

Author

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

Examples

Run this code
if (FALSE) {
#####################
# Internal use only #
#####################
# Example usage inside of nimblewomble::zbeta_samples(...)
zXb = nimble::compileNimble(zXbeta)
zb.samples = zXb(y = y, X = X, beta = beta)
}

Run the code above in your browser using DataLab