Vectorised version of multi_posterior_mean()
vectorised_multi.Rd
Alternative vectorised version, highly efficient when nb_peptide < 30.
Arguments
- data
A tibble or data frame containing imputed data sets for all groups. Required columns:
Peptide
,Group
,Sample
,Output
. If missing data have been estimated from multiple imputations, each imputation should be identified in an optionalDraw
column.- mu_0
A vector, corresponding to the prior mean. If NULL, all groups are initialised with the same empirical mean for each peptide.
- lambda_0
A number, corresponding to the prior covariance scaling parameter.
- Sigma_0
A matrix, corresponding to the prior covariance parameter. If NULL, the identity matrix will be used by default.
- nu_0
A number, corresponding to the prior degrees of freedom.