How to make “values_fill” argument in pivot_wider() , in R tidyverse, fill NA values to the mean of its respective column?
I’m trying to pivot_wider, and want to fill NA cells with the mean of their respective columns, but I’m running into issues with the values_fill= part of the argument.