Initialize RcppParallel multithreading using a pre-specified number of threads, or using the default number of threads when n is not specified or is NA.

set_fastglmpca_threads(n)

Arguments

n

The requested number of threads.

Value

The number of threads to be used.