dts_extrapolate | R Documentation |
Fill in missing values by padding with the first or last non-missing value.
dts_extrapolate(
x,
dtt = "DateTime",
colname = dts_colnames(x),
max_span = .Machine$integer.max
)
x |
A dts data frame |
dtt |
A string specifying the column with the Date or POSIXct values. |
colname |
A character vector specifying the column(s) with the other values. |
max_span |
An integer of the maximum span to extrapolate. |
A data frame
dts_extrapolate(dts_data[2:6,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.