However, later on in my report, I was showing some plots of the distribution on my data and had been using pivot_longer to show multiple variables in the same graph. It worked when i had the scale function originally, but now I'm struggling with using datawizard::standardize.
We didn't need to use values_to to indicate where values would go in pivot_longer. Based on names_pattern regex you will get 2 different components. The first is the string/word before the number, which is d or d_br. When you use .value in names_to then these become the column names where your
According to the tidyverse blog gather is now retired and as been replaced by pivot_longer. They state: "New pivot_longer() and pivot_wider() provide modern alternatives to spread() and gather(). They have been carefully redesigned to be easier to learn and remember, and include many new features. spread() and gather() won’t go away, but they
ThQEh.