If the first value of the timeseries of this column (c) is 0/NaN/NA. Change the first value (and subsequent 0/NaN/NA values) to the first available non-0/NaN/NA value. Then, used in before with 'ReplaceMid'.

ReplaceFirst(colnames, temp)

Arguments

colnames

Names of columns to apply this action to.

temp

Name of dataset to apply this action to.

Examples

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