Skip to contents

Group Length 3

Usage

group_3(x)

Arguments

x

<list> of character vectors

Value

<list> of character vectors

Examples

c("C75", "C97", "G02", "G04") |>
   split_lengths() |>
   remove_redundant() |>
   split_first() |>
   group_3()
#> [[1]]
#> [[1]][[1]]
#> [1] "C75"
#> 
#> [[1]][[2]]
#> [1] "C97"
#> 
#> 
#> [[2]]
#> [[2]][[1]]
#> [1] "G02" "G04"
#> 
#>