extract_factors: Extract latent factors from a Stan model fit.

Description Usage Arguments Value

Description

Extracts out the posterior means of the latent factors and all other parameter values from a Stan model fit.

Usage

1
extract_factors(stan_vb_fit, ss)

Arguments

stan_vb_fit

Stan variational Bayes object obtained from the output of vb_wrap.

ss

List of sufficient statistics from init_ss.

Value

List of posterior means of all model parameters.


willtownes/vamf documentation built on May 8, 2019, 9:31 a.m.