Get the next SQUID (or SQUIDs)
next_squid.Rd
Get the next SQUID (or SQUIDs)
Arguments
- x
The SQUID or SQUIDs to follow (
follow
in 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;
#> 🦑 7zxsbw2g
next_squid(exampleSQUID);
#> 🦑 7zxsbw2h
### Or for multiple SQUIDs
exampleSQUIDs <-
squids::squids(5);
exampleSQUIDs;
#> 🦑 7zxsbw2g, 7zxsbw2h, 7zxsbw2j, 7zxsbw2k & 7zxsbw2l
next_squids(exampleSQUIDs, 3);
#> Error in next_squids(exampleSQUIDs, 3): could not find function "next_squids"