makemaxProcessor: determine number of processors

View source: R/helper_functions.R

makemaxProcessorR Documentation

determine number of processors

Description

determine number of processors

Usage

makemaxProcessor(
  maxProcessor,
  dta,
  TS,
  typeTS,
  TSextra,
  B,
  useSingleProcessor = FALSE
)

Arguments

maxProcessor

use this if given

dta

data set used to estimate computation time

TS

test statistic

typeTS

format of TS

TSextra

optional

B

number of simulation runs

useSingleProcessor

=FALSE, no parallel processing

Value

a number


MDgof documentation built on Sept. 23, 2026, 5:08 p.m.