Skip to contents

Builds a start_vals list for ame or lame from an ALS point estimate. This is useful when the ALS fit has already found a good latent-space solution and the MCMC chain should start near that solution rather than from diffuse random values.

Usage

als_start_vals(fit, jitter = 0, seed = NULL)

Arguments

fit

a fitted ame_als, lame_als, or dynamic ALS object returned by lame with method = "als".

jitter

non-negative standard deviation for independent Gaussian perturbations added to numeric starting values. Use a small positive value for multiple MCMC chains.

seed

optional integer seed used for the jitter.

Value

A list that can be passed to start_vals.