Translate an axis between two sets of identifiers
translate(x, along = 1, to, from = dimnames(x)[[along]], ..., FUN,
na_rm = FALSE)
A summarized matrix as defined by `from`, `to`
A matrix
Along which axis to summarize
Names that this dimension should be summarized to
Names that match the dimension `along`
Parameters passed to `match`
Which function to apply, default is throwing error on aggregation
Remove values that were translated to NAs