Extract posteriorMax estimates
extract_posteriorMax.RdConvenience function to extract only the posteriorMax estimate from a fitted model. This is the posterior sample with the highest log-posterior density.
Arguments
- stan_fit
A stanfit object from
fit_ento_model.- data
Optional. Original data frame for treatment labels.
- pars
Character vector. Parameters to extract. If NULL, uses the same defaults as
extract_stan_posteriors.