Build cluster to parallelize operations across nodes in machine.
Source:R/auxiliary.R
build_cluster.RdThis function builds the cluster and imports the necessary packages to run causewise: causewise itself, dplyr and tidyr.
Examples
if (FALSE) { # \dontrun{
# Uses all but one of the machine's cores.
cl <- build_cluster("sequential")
parallel::stopCluster(cl)
} # }