create_powered: Creates Powered Data

Description Usage Arguments

View source: R/create_powered.R

Description

Takes input data and adds powered values of the features, as new features

Usage

1
create_powered(data, powers, exclude_head, exclude_tail)

Arguments

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.


canhakan/canhakan1 documentation built on Dec. 19, 2021, 1:48 p.m.