plyranges
plyranges copied to clipboard
group mutate revamp
When operating on an ungrouped object, mutate
will use methods from {plyranges}
but when operating on a grouped object, mutate
will rely on vanilla tidyverse by converting the object to a tibble. The result is then coerced back to DataFrame
to update the metadata of the object. Of note, core columns can be used in this framework to create new metadata columns.