Hi all
Not sure if this is standard to any library but in the following code:
df %<>% mutate( varname = fct_collapse( .$varname, unknown_other = c("Unknown", "Other") ) )
I note the .$
within the fct_collapse() function, why is this needed? Infact I tried the same code without the .$ and it worked fine. So I am wondering what this is used for...