Rather than pivoting is it possible to round values of a dataset by rows instead of columns? The standard way is to round columns using `mutate_at` or now with `across` but I would prefer to do by specific rows:

```
library(tidyverse)

set.seed(10)
df <- data.frame(let = sample(letters, 20),
                 x = rnorm(20),
                 y = rnorm(20) + 10,
                 z = rnorm(20) + 30)
df

#for rows where "let" = i, j, k, h round to 2 decimal places using ~round(., 2)
round_2 = c("i", "j", "k", "h")

#for rows where "let" = a, b, c, d, e round to  decimal places using ~round(., 0)
round_0 = c("a", "b", "c", "d")

#typical type approach with columns
#df %>% 
#  mutate(across(matches("x|y"), ~round(., 0))) 
#df %>% 
#  mutate(across(matches("z"), ~round(., 2)))

```

Maybe `rowwise` could be used here?

thanks