check.cores: Check function: check the number of cores

View source: R/checks.R

check.coresR Documentation

Check function: check the number of cores

Description

This function checks if the number of cores specified is a positive integer. If not, set it as one.

Usage

check.cores(x)

Arguments

x

Number of cores.

Value

Returns the updated number of cores.

x

The updated number of cores


conroylau/lpinfer documentation built on Oct. 23, 2022, 9:21 a.m.