append_grid_: Internal function for use by generate_grid family of...

Description Usage Arguments Examples

Description

Replaces feature_col with grid values and maintains column order

Usage

1
append_grid_(feature_dt, feature_col, grid)

Arguments

feature_dt

data.table containing features used in predictive model

feature_col

character. name of a column in feature_dt

Examples

1
2
3
4
5
6
## Not run: 
dt <- data.table(a = 1:3, b = 4:6)
grid <- 10:12
append_grid_(dt, "a", grid)

## End(Not run)

breather/brightbox documentation built on May 13, 2019, 5:04 a.m.