Skip to contents

Function to generate random initial values from a previous fit using SparseNUTS

Usage

sample_inits(fit, chains)

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.