powered by
Create a lens into a named collection. On set names of the input are not changed. This generalizes dplyr::select to arbitrary named collections and allows updating.
select_l(...)
An expression to be interpreted by tidyselect::vars_select which is the same interpreter as dplyr::select
# NOT RUN { lets <- setNames(seq_along(LETTERS), LETTERS) set(lets, select_l(G:F, A, B), 1:4) # A and B are 3,4 for a quick check # }
Run the code above in your browser using DataLab