This function computes mean sub-kernels for stochastic parameter re-sampled and stochastic kernel re-sampled models.
mean_kernel(ipm)
A stochastic model created by make_ipm()
.
A list of mean sub-kernels for the model.
For *_stoch_kern
models, this computes the element-wise
mean for each sub-kernel across all the different levels of
par_set_indices
. For models where not all sub-kernels contain
parameter set indices, sub-kernels that do not have varying
parameters are included in the output and are identical to their input.
For *_stoch_param
models, this computes the element-wise mean for each
sub-kernel created by the iteration procedure.