-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I was wondering if there was a function that takes the pairwise differences (A-B)... And then I realized maybe having a function that applies any function and applies it in a pairwise manner. Something like:
# subtract
df %>%
pairwise(.f = '-')
# add
df %>%
pairwise(.f = '+')
# multiply
df %>%
pairwise(.f = '*')
Would this be useful? If there's interest I might try implementing something like that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels