Populate a blank row of data using a mutate(across(casewhen())) call to calculate values
I am attempting to merge two rows of data into one row of aggregated data. Much of the values in the two rows are the same. Where they differ, I want to append data together.
Populate a blank row of data using a mutate(across(casewhen())) call to calculate values
I am attempting to merge two rows of data into one row of aggregated data. Much of the values in the two rows are the same. Where they differ, I want to append data together.
Populate a blank row of data using a mutate(across(casewhen())) call to calculate values
I am attempting to merge two rows of data into one row of aggregated data. Much of the values in the two rows are the same. Where they differ, I want to append data together.
Populate a blank row of data using a mutate(across(casewhen())) call to calculate values
I am attempting to merge two rows of data into one row of aggregated data. Much of the values in the two rows are the same. Where they differ, I want to append data together.
mutate(coalesce()) in R not working as intended
Trying to combine to columns with non-overlapping data using the mutate(coalesce) function in r: