Skip to contents

Group Length 4

Usage

group_4(x)

Arguments

x

<list> of character vectors

Value

<list> of character vectors

Examples

c("C751", "C971", "G020", "G040") |>
   split_lengths() |>
   remove_redundant() |>
   split_first() |>
   group_4()
#> [[1]]
#> [[1]][[1]]
#> [1] "C751"
#> 
#> [[1]][[2]]
#> [1] "C971"
#> 
#> 
#> [[2]]
#> [[2]][[1]]
#> [1] "G020"
#> 
#> [[2]][[2]]
#> [1] "G040"
#> 
#>