I want to add new column with minimum value by row but i would like to avoid write all column names because I have a lot of columns to select minimum value.
I would like to avoid write
df %>% mutate(newcol = min(column8, column9, column10, column11, column12, column13, column14, na.rm = T))
I wrote the next code but it doesn’t work
df %>% mutate(newcol = min(column8:column14, na.rm = T))
What is wrong?