process_seed_table: Helper function to process a seed table

Description Usage Arguments

View source: R/ipu.R

Description

Helper for ipu(). Strips columns from seed table except for the primary id and marginal column (as reflected in the targets tables). Also identifies factor columns with one level and processes them before mlr::createDummyFeatures() is called.

Usage

1
process_seed_table(df, primary_id, marginal_columns)

Arguments

df

the data.frame as processed by ipu() before this function is called.

primary_id

the name of the primary ID column.

marginal_columns

The vector of column names in the seed table that have matching targets.


ipfr documentation built on April 2, 2020, 1:12 a.m.