Was essentially hoping to this to do my data: top is the original, bottom is the end result I want
I am very new to RStudio so any help would be amazing pleas