Function to generate random initial values from a previous fit using SparseNUTS
Source:R/utils.R
sample_inits.RdFunction to generate random initial values from a previous fit using SparseNUTS
Arguments
- fit
A fitted object from
sample_snuts- chains
The number of chains for the subsequent run, which determines the number to return.
Value
A list of vectors which can be passed back into
sample_snuts.