aRTtable-createColumn {aRT}R Documentation

Create a column

Description

Create a new column in a table.

Usage

## S4 method for signature 'aRTtable':
createColumn(object, colname="name", type="s", length=5, key=F, decimals=3)

Arguments

object Object of class aRTtable.
colname A list of columns.
type string representing the column type (see below).
length The maximum length of the values if they are strings.
key If the column will have unique values.
decimals Max number of decimal.

Culumn Types

i
integer
d
decimal (=i)
s
string
c
character (=s)
f
float
b
boolean
l
logical (=b)

Author(s)

Pedro Ribeiro de Andrade Neto

See Also

See aRTtable-class to show the description of this class.


[Package aRT version 0.4-0 Index]