View source: R/create_powered.R
Takes input data and adds powered values of the features, as new features
1 | create_powered(data, powers, exclude_head, exclude_tail)
|
data |
input data |
powers |
list of powers to be added. Numbers in the list should be integers > 1. |
exclude_head |
the columns of data that is not subject to lagging process (e.g. date/hour). Will be merged to left-side of the lagged data. |
exclude_tail |
the columns of data that is not subject to lagging process (e.g. production). Will be merged to right-side of the lagged data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.