You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just noticed {purrr} has a function to keep elements, where it is using the word as a synonym for filter.
So prob a different word like hold is better then. Also is kind of like in poker, where the non-held elements could be considered folded as "".
I've created 2 functions that could be used with a hold argument:
hold_nth(x, nth = 2, offset = NULL)
hold_range(x))
Not sure how you feel about this hold idea? If you like it, and want to implement it, you could also release hold_nth and hold_range functions in {scales}? Otherwise, I'll release my (hacky) functions in {ggblanket} shortly
I would like to have flexibility in labelling functions to keep only a subset of the labels.
Some use cases include:
etc
In particular, I want to:
etc
So the other non-kept breaks would need to be returned as "".
An idea to implement this would be as a
hold
argument inlabel_*
functions that could accept a function.The text was updated successfully, but these errors were encountered: