readAndSplit: Read in training or test data

Description Usage Arguments Value

View source: R/data_import.R

Description

Read in training or test data

Usage

1
readAndSplit(path, target_name, name = "train")

Arguments

path

A string representing a file path.

target_name

Name of response column.

name

Either train or test to denote type of data.

Value

Assigns two objects to the parent frame. An data.table of independent variables and a data.table with dependent variable.


zschuster/Kaggle.PKG.Aviation documentation built on May 23, 2019, 9:52 a.m.