compileParallelGradients | R Documentation |
compile the model from newPsydiff for use with parallel gradient computation. This function will invoke parallel::makeCluster(nCores, type = "PSOCK"). Stop the cluster with stopParallelGradients().
compileParallelGradients(psydiffModel, nCores)
psydiffModel |
model from newPsydiff |
nCores |
number of cores to use |
psydiffModel with additional cl field for workers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.