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;
#> 🦑 83q8l49x
squids::next_squid(exampleSQUID);
#> 🦑 83q8l49y
### Or for multiple SQUIDs
exampleSQUIDs <-
squids::squids(5);
exampleSQUIDs;
#> 🦑 83q8l49x, 83q8l49y, 83q8l49z, 83q8l4b0 & 83q8l4b1
squids::next_squids(exampleSQUIDs, 3);
#> 🦑 83q8l4b2, 83q8l4b3 & 83q8l4b4