Extract the estimates of the observation model parameters.

extract_obs_parameters(fit, ...)

Arguments

fit

An object returned by either draw_samples or optimizing.

...

Arguments to be passed to rstan's extract if the object fit was returned by fit or draw_samples.

Value

A named list with as many elements as model parameters. Each element is a numeric array with dimensions [N, M, ...]: number of iterations N, number of chains M, and one or more dimensions related to the characteristics of the parameter. If the argument chain was set, the chain dimension is dropped and the function returns a numeric array with dimensions [N, ...]. If the argument reduce was set to a function returning a vector of size n, the returned array has dimension [n, M, ...]. When n is simply one (e.g. median), the number-of-iterations dimension is dropped and the function returns a three-dimensional numeric array [M, ...].

See also