get.index.b: Internal function. Get the row index in the stacked sample...

Description Usage Arguments Details Value

Description

Internal function. Get the row index in the stacked sample matrices for the b^{th} batch

Usage

1
get.index.b(batch.size, b)

Arguments

batch.size

vector of batch sizes

b

the index of the batch of interest

Details

In the computation, samples from each batches are stacked be rows to form x.mat, as well as fx.mat, px.mat, qx.mat. To extract the samples from batch b and their corresponding fx, px, qx values, the indices for batch b will be needed. They can be obtained by calling get.index.b(batch.size, b)

Value

the row index or sample matrices of batch b for all b's in b.vec



Search within the optismixture package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.