Prepares user given values for input into the C++ function.
prepareInitialParameters(
initial_class_means,
initial_class_covariance,
initial_batch_shift,
initial_batch_scale,
initial_class_df,
P,
K,
B,
type
)
A named list containing the different parameters.
A $P x K$ matrix of initial values for the class means. Defaults to draws from the prior distribution.
A $P x P x K$ array of initial values for the class covariance matrices. Defaults to draws from the prior distribution.
A $P x B$ matrix of initial values for the batch shift effect Defaults to draws from the prior distribution.
A $P x B$ matrix of initial values for the batch scales Defaults to draws from the prior distribution.
A $K$ vector of initial values for the class degrees of freedom. Defaults to draws from the prior distribution.
Integer. The number of measurements for each sample in the dataset being modelled.
The number of classes/clusters being modelled.
The number of batches being modelled.
The type of mixture model used; one of "MVN" or "MVT".