# Rattle: Data Mining by Example # # Copyright (c) 2011 Graham.Williams@togaware.com # We collect together the different datasets used in the examples # here. library(rattle) ################################################################################ # Weather Dataset weatherDS <- new.env() evalq({ require(rattle) data <- weather target <- "RainTomorrow" risk <- "RISK_MM" inputs <- names(data)[3:22] }, weatherDS) setupDataset(weatherDS) # List the variables that will be used for prediction. weatherDS$vars ################################################################################ # The common iris dataset irisDS <- new.env() evalq({ data <- iris target <- "Species" risk <- NULL inputs <- names(data)[1:4] }, irisDS) setupDataset(irisDS)