get fitted mean for nested model with subclass mixing weights that are the same among cases
get_fitted_mean_nested( slice, res_nplcm, model_options, data_nplcm, clean_options )
slice
: the slice of BrS data that are modeledres_nplcm
: matrix of MCMC samplesmodel_options
: see nplcm()
data_nplcm
: see nplcm()
clean_options
: see clean_perch_data()
a matrix of no. of rows equal to retained MCMC samples, no. of columns equal to the no. of measurement dimensions within a slice.
Useful links