Creates cluster and loads pieces of the database in each worker.
apollo_makeCluster(apollo_control, apollo_probabilities, database,
draws = NA, apollo_randcoeff = NA, apollo_lcpars = NA,
silent = FALSE)
List of model options.
Function. likelihood provided by the user.
data.frame Data to be used by model. Gets splitted and copied into the cluster.
List of draws (numeric arrays). Default is NA. Get splitted and copied into the cluster.
Function. Creates the random coeff or error terms by mixing draws and params. Provided by the user.
Function. Used for latent class models. Not implemented yet.
Boolean. Default is FALSE.
Cluster (i.e. an object of class cluster from package parallel)
Internal use only. Called by apollo_estimate before estimation. AT least doubles up memory usage. But during the splitting it uses even more (~250