Learn R Programming

dgpsi (version 2.6.0)

set_thread_num: Set the number of threads

Description

This function sets the number of threads for parallel computations involved in the package.

Usage

set_thread_num(num)

Value

No return value.

Arguments

num

the number of threads. If it is greater than the maximum number of threads available, the number of threads will be set to the maximum value.

Details

See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.