swapInd_cc: Swap values of stored indicators

Description Usage Arguments Value See Also

View source: R/RcppExports.R

Description

This function is used to swap elements in the stored indicators from MCMC sampling. Note that this function reuses R memory and should therefore be treated with caution. Do not use this function unless you really know what you are doing.

Usage

1
swapInd_cc(values, index)

Arguments

values

An integer matrix containing the last indicators stored in MCMC sampling. The number of these last stored indicators is defined by the hpyer-parameter storeS in the mcmc object.

index

An integer matrix defining the swapping scheme.

Value

A matrix with swapped values.

See Also


simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.