View source: R/dt_modification.R
time_rename | R Documentation |
This will rename the columns in a data.table so that they end in '_t_0', which will be needed when folding the data.table. If any of the columns already ends in '_t_0', a warning will be issued and no further operation will be done. There is no need to use this function to learn a DBN unless some operation with the variable names wants to be done prior to folding a dataset.
time_rename(dt)
dt |
the data.table to be treated |
the renamed data.table
data("motor")
dt <- time_rename(motor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.