MC_sums {drape}R Documentation

Compute sums of a Monte Carlo vector for use in resmoothing.

Description

Compute sums of a Monte Carlo vector for use in resmoothing.

Usage

MC_sums(a, n, nMC, nbw)

Arguments

a

vector of length (n x nMC x nbw).

n

integer.

nMC

integer.

nbw

integer.

Value

list with nbw elements. The j'th element of which is a vector of length n, the i'th element being the sum of the (((j-1)n + (i-1)) x nMC + 1) to (((j-1)n + i) x nMC) elements of a inclusive.


[Package drape version 0.0.1 Index]