Skip to contents

Check sequence. Function to check if a vector is a sequence with same increment

Usage

check_sequence_increment(seq)

Arguments

seq

A vector to test if is a constant sequence

Value

If the increment in the sequence is not the same returns FALSE. Otherwise returns the increment step