I have a dataset that looks like that shown below and I am trying to calculate the baseline using the rollingball function as part of the baseline package.
My code is like that shown herre however, I am getting the error "incorrect number of dimensions". Can anyone help?
bc.rollingBall <- baseline(CO2_Data$co2_mixing_ratio[1,, drop=FALSE], wm=30, ws=30,
method='rollingBall')