NA
>mists-na-rle-tbl.Rd
Expand and count run length encoding <NA
>
na_rle_expand(x) na_rle_table(x)
x | An object returned by |
---|
Other rectangling functions: na_rle_cut
#> <Run Length Encoding <NA>[3]> #> $lengths: <int> 2 2 1 #> $indices: <int> 2 8 16na_rle_expand(x)#> # A tibble: 5 x 2 #> lengths indices #> <int> <int> #> 1 2 2 #> 2 2 3 #> 3 2 8 #> 4 2 9 #> 5 1 16na_rle_table(x)#> # A tibble: 2 x 3 #> lengths n nobs #> <int> <int> <int> #> 1 1 1 1 #> 2 2 2 4