Splits the database and the draws (if given) in a list with as many elements as apollo_control$nCores.
apollo_splitDataDraws(apollo_control, database, draws = NA,
silent = FALSE)
List. Contains options for the estimation. See apollo_validatecontrol.
data.frame. Estimation data.
List. Draws as created by apollo_makeDraws.
Boolean. If TRUE, no information is printed to console or default output.
List. Each element is a list containing two elements: a fraction of the database and a fraction of the draws (if given).
Internal use only. This function is called by apollo_makeCluster.