Skip to contents

Get the next SQUID (or SQUIDs)

Usage

next_squid(x, n = 1, followBy = NULL)

Arguments

x

The SQUID or SQUIDs to follow (follow in the squids() 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.

Value

One or more SQUIDs

Examples

exampleSQUID <-
  squids::squids(1);

exampleSQUID;
#> 🦑 7zyscwkq

squids::next_squid(exampleSQUID);
#> 🦑 7zyscwkr

### Or for multiple SQUIDs
exampleSQUIDs <-
  squids::squids(5);

exampleSQUIDs;
#> 🦑 7zyscwkr, 7zyscwks, 7zyscwkt, 7zyscwkw & 7zyscwkx

squids::next_squids(exampleSQUIDs, 3);
#> 🦑 7zyscwky, 7zyscwkz & 7zyscwl0