colInfo-class: Class "colInfo" presents column information for a data frame

Description Objects from the Class Slots Methods Author(s) See Also Examples

Description

This class is for keeping information about a data frame to be processed. The class is mainly for use by importWizard

Objects from the Class

Objects can be created by calls of the form new("colInfo", ...)

Slots

colName:

Object of class "character" - a character string for the name of the column

colType:

Object of class "character" - a character string for the data type of the column. Can only be "character" or "numeric"

dropOrNot:

Object of class "logical" - a boolean indicationg whether the column will be droped

Methods

colName

signature(object = "character"): The get method for slot "colName"

colName<-

signature(object = "character"): The set method for slot "colName"

colType

signature(object = "character"): The get method for slot "colType"

colType<-

signature(object = "character"): The set method for slot "colName"

dropOrNot

signature(object = "logical"): The get method for slot "dropOrNot"

dropOrNot

signature(object = "logical"): The set method for slot "dropOrNot"

Author(s)

Jianhua Zhang

See Also

importWizard

Examples

1
2
  newInfo <- new("colInfo", colName = "aaaa", colType = "character",
dropOrNot = FALSE)  

tkWidgets documentation built on Nov. 8, 2020, 5:17 p.m.