Get the next SQUID (or SQUIDs)
Arguments
- x
The SQUID or SQUIDs to follow (
followin thesquids()function).- n
The number of following SQUIDs you want
- followBy
When following a vector of SQUIDs, this can be used to specify the distance between the two vectors in centiseconds.
Examples
exampleSQUID <-
squids::squids(1);
exampleSQUID;
#> 🦑 830ly9j7
squids::next_squid(exampleSQUID);
#> 🦑 830ly9j8
### Or for multiple SQUIDs
exampleSQUIDs <-
squids::squids(5);
exampleSQUIDs;
#> 🦑 830ly9j8, 830ly9j9, 830ly9jb, 830ly9jc & 830ly9jd
squids::next_squids(exampleSQUIDs, 3);
#> 🦑 830ly9jf, 830ly9jg & 830ly9jh