BPS_postdraws: Compute the BPS posterior samples given a set of stacking...

View source: R/RcppExports.R

BPS_postdrawsR Documentation

Compute the BPS posterior samples given a set of stacking weights

Description

Compute the BPS posterior samples given a set of stacking weights

Usage

BPS_postdraws(data, priors, coords, hyperpar, W, R)

Arguments

data

list two elements: first named Y, second named X

priors

list priors: named \mu_b,V_b,a,b

coords

matrix sample coordinates for X and Y

hyperpar

list two elemets: first named \delta, second named \phi

W

matrix set of stacking weights

R

integer number of desired samples

Value

matrix BPS posterior samples


spBPS documentation built on Oct. 25, 2024, 5:07 p.m.