Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

colInfo-class

Class "colInfo" presents column information for a data frame


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

Examples

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

tkWidgets

R based tk widgets

v1.68.0
Artistic-2.0
Authors
J. Zhang <jzhang@jimmy.harvard.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.