A constructor for the classCoMiRe class. The class classCoMiRe is a named list containing
the output of the posterior estimation of CoMiRe model implemented in comire.gibbs
as.classCoMiRe(call = NULL, out = NULL, z = NULL, z.val = NULL, f0 = NULL, f1 = NULL,
nrep, nb, bin = FALSE, univariate = TRUE)a formula for comire.gibbs.
an output of comire.gibbs.
optional numeric vector or matrix for the confounding covariates.
optional numeric vector containing a fixed value of interest for each of the confounding covariates to be used for the plots. Default value is mean(z) for numeric covariates or the mode for factorial covariates.
optional matrices containing simulated values of the mixture densities at low and high dose exposure; default values are simulated with comire.gibbs. It is possible to change these for differente fixed values of z: see predict_new_z function.
integer giving the total number of iterations used in comire.gibbs.
integer giving the number of burn-in iterations used in comire.gibbs.
logical. It is TRUE if y is drawn for a binomial distribution.
logical. It is TRUE if the model is univariate.
Antonio Canale, Arianna Falcioni