I would like to get running totals according to factors (Well_N), that's why I grouped data with
by_wells_sample <- group_by(sampledata, Well_N)
I would like to get running totals as new column in my dataframe, but as a result I get dataframe in the data frame. Any advice/guidance how to do it properly?
See GitHub repo with question details.