I'm wanting to create a column from another in the R where some of the rows have no value. The column should be constructed as follows: if the row of the base column has value, it will fetch that same value, otherwise it should fetch the information from the previous row of that new column. Could someone help me?