R/modelMixture.R
tdmore_mixture_covariates.Rd
Create a TDMore mixture model, based on several options for a discrete covariate.
tdmore_mixture_covariates(model, probs, covariates)
model | a tdmore model with a discrete covariate |
---|---|
probs | a numeric vector with the a priori probabilities for the covariate values |
covariates | a list with covariate values corresponding to the right names |
a tdmore_mixture object