mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
Deploying to gh-pages from @ agdamsbo/FreesearchR@54dd332cd8 🚀
This commit is contained in:
parent
4cf4bd0499
commit
6d545337de
328 changed files with 12930 additions and 1662 deletions
28
reference/is_consecutive.md
Normal file
28
reference/is_consecutive.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Checks if elements in vector are equally spaced as indication of ID
|
||||
|
||||
Checks if elements in vector are equally spaced as indication of ID
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
is_consecutive(data)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- data:
|
||||
|
||||
vector
|
||||
|
||||
## Value
|
||||
|
||||
logical
|
||||
|
||||
## Examples
|
||||
|
||||
``` r
|
||||
1:10 |> is_consecutive()
|
||||
#> [1] TRUE
|
||||
sample(1:100,40) |> is_consecutive()
|
||||
#> [1] FALSE
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue