lfill_#

swordfish.function.lfill_()#

If obj is a vector: linearly fill the null values between 2 non-null numeric values in obj.

If obj is a table with only numeric columns: for each column of the table, linearly fill the null values between 2 non-null numeric values.

The only difference between lfill and lfill_ is that the latter assigns the result to X and thus changing the value of X after the execution.

参数:

obj (Constant) -- A vector or a table with only numeric columns.