Last data update: 2014.03.03

R: Class "colInfo" presents column information for a data frame
colInfo-classR Documentation

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

importWizard

Examples

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

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(tkWidgets)
Error in library(tkWidgets) : there is no package called 'tkWidgets'
Execution halted