This class converts different types of data to a format
required for Cubist
and C5,0
.
QuinlanAttributes(object, ...)# S3 method for numeric
QuinlanAttributes(object, ...)
# S3 method for factor
QuinlanAttributes(object, ...)
# S3 method for character
QuinlanAttributes(object, ...)
# S3 method for ordered
QuinlanAttributes(object, ...)
# S3 method for Date
QuinlanAttributes(object, ...)
# S3 method for POSIXct
QuinlanAttributes(object, ...)
# S3 method for matrix
QuinlanAttributes(object, ...)
# S3 method for data.frame
QuinlanAttributes(object, ...)
makeDataFile(x, y, w = NULL)
makeNamesFile(x, y, w = NULL, label = "outcome", comments = TRUE)
A textual representation of the data.
An object to translate to the format expected by the Quinlan C code.
A data frame or matrix or predictors
A vector of outcomes
A numeric vector of case weights or NULL
A string required by the C code as the file name
A logical; should info about the call be printed in the string?