is.sequential: Check whether there are different steps between the elements...

View source: R/sequence_checks.R

is.sequentialR Documentation

Check whether there are different steps between the elements of a vector

Description

Check whether there are different steps between the elements of a vector

Usage

is.sequential(x, comparison = `==`, step = NULL)

Arguments

x

A numeric vector.

comparison

A relational operator for the check, with back-ticks.

step

Step to be used in comparison. Defaults to the difference between the first and second elements of the vector.

Value

A logical vector


AltfunsMA/cptools documentation built on Aug. 7, 2022, 5:44 p.m.