View source: R/apollo_makeCluster.R
apollo_makeCluster | R Documentation |
Splits data, creates cluster and loads different pieces of the database on each worker.
apollo_makeCluster(
apollo_probabilities,
apollo_inputs,
silent = FALSE,
cleanMemory = FALSE
)
apollo_probabilities |
Function. Returns probabilities of the model to be estimated. Must receive three arguments:
|
apollo_inputs |
List grouping most common inputs. Created by function apollo_validateInputs. |
silent |
Boolean. If TRUE, no messages are printed to the terminal. FALSE by default. It overrides |
cleanMemory |
Boolean. If TRUE, it saves apollo_inputs to disc, and removes database and draws from the apollo_inputs in .GlobalEnv and the parent environment. |
Internal use only. Called by apollo_estimate
before estimation. Using multiple cores greatly increases memory consumption.
Cluster (i.e. an object of class cluster from package parallel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.