Learn R Programming

Rdistance (version 4.0.5)

checkNEvalPts: checkNEvalPts - Check number of numeric integration intervals

Description

Check that number of integration intervals is odd and sufficiently large.

Usage

checkNEvalPts(nEvalPts)

Value

The first element of nEvalPts is returned if it is acceptable. If nEvalPts is not acceptable, an error is thrown.

Arguments

nEvalPts

An integer to check.