dts_regress2 | R Documentation |
Fill in missing values by multiple regression.
dts_regress2(
x,
dtt = "DateTime",
colname = c("Value", "Value2", "Value3"),
intercept = TRUE,
min_gap = 0L,
min_n = 5L
)
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. |
intercept |
A flag indicating whether an intercept should be estimated (or fixed at 0) |
min_gap |
An integer of the minimum gap to leave between regressed and existing values. |
min_n |
A count of the minimum of data points to require. |
A data frame
dts_regress2(dts_data)[1:5,]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.