START_PARALLEL: START_PARALLEL

Description Usage Arguments Examples

View source: R/fit_reduced_count_models.R

Description

Used to initialize parallel computing (useful for likelihood calculations which can be computationally intensive).

Usage

1
START_PARALLEL(num_cores)

Arguments

num_cores

Number of cores to use for parallel processing.

Examples

1
2
3
4
5
6
START_PARALLEL(4)
Y    <- gen_Nmix_closed(16,8,50,0.5)
out  <- fit_red_Nmix_closed(Y$nit, red=10, K=100, starts = c(log(40),boot::logit(0.5)), PARALLELIZE=TRUE)
END_PARALLEL()

out

mrparker909/redNMix documentation built on April 4, 2020, 12:24 a.m.