If a middle value of the timeseries of this column (c) is 0/NaN/NA. Change the currently 0/NaN/NA value to the previous available non-0/NaN/NA value. Then, used after with 'ReplaceFirst'.

ReplaceMid(colnames, temp)

Arguments

colnames

Names of columns to apply this action to.

temp

Name of dataset to apply this action to.

Examples

ReplaceMid()
#> Error in ReplaceMid(): argument "colnames" is missing, with no default