Hi,
I have a question because I am stuck for a while.
res[2,3:9] %>% str_replace_all("^1", "2" )
this works, but how to assign it, I mean how to save it ?
I have tried:
res[2,3:9] %>% str_replace_all("^1", "2" ) -> res[2,3:9]
but it does not work. I would like to change value 1 to value 2 in row 2 of df named res, in selected columns 3 to 9.