setupDataset: Given specific contents of env add other dataset related...

Description Usage Arguments Details Author(s) References

Description

This rattle support function is used for encapsulating data mining objects. The supplied environment is augmented with other data derived from the supplied data, such as a sample trianing dataset, list of numeric variables, and a formula for modelling.

Usage

1
setupDataset(env, seed=NULL)

Arguments

env

the environment to modify.

seed

optionally set the seed for repeatability.

Details

The supplied object (an environment) is assumed to also contain the variables data (a data frame), target (a character string naming the target variable), risk (a character string naming the risk variable), and inputs (a character vector naming all the input variables). This function then adds in the variables vars (the variables used for modelling), numerics (the numeric vars within inputs), nobs (the number of observations), form (the formula for building models), train (a 70% training dataset).

Author(s)

Graham.Williams@togaware.com

References

Package home page: http://rattle.togaware.com


grayskripko/rattle documentation built on May 17, 2019, 8:34 a.m.