Skip to contents

get fitted mean for nested model with subclass mixing weights that are the same among cases

Usage

get_fitted_mean_nested(
  slice,
  res_nplcm,
  model_options,
  data_nplcm,
  clean_options
)

Arguments

slice

the slice of BrS data that are modeled

res_nplcm

matrix of MCMC samples

model_options

see nplcm()

data_nplcm

see nplcm()

clean_options

see clean_perch_data()

Value

a matrix of no. of rows equal to retained MCMC samples, no. of columns equal to the no. of measurement dimensions within a slice.