mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 18:09:39 +02:00
22 lines
456 B
Text
22 lines
456 B
Text
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/data-summary.R
|
||
|
\name{is_consecutive}
|
||
|
\alias{is_consecutive}
|
||
|
\title{Checks if elements in vector are equally spaced as indication of ID}
|
||
|
\usage{
|
||
|
is_consecutive(data)
|
||
|
}
|
||
|
\arguments{
|
||
|
\item{data}{vector}
|
||
|
}
|
||
|
\value{
|
||
|
logical
|
||
|
}
|
||
|
\description{
|
||
|
Checks if elements in vector are equally spaced as indication of ID
|
||
|
}
|
||
|
\examples{
|
||
|
1:10 |> is_consecutive()
|
||
|
sample(1:100,40) |> is_consecutive()
|
||
|
}
|