aRTtable-createColumn {aRT} | R Documentation |
Create an empty column in a table.
## S4 method for signature 'aRTtable': createColumn(object, colname, type="c", length=10, key=FALSE, decimals=3, autonumber=FALSE)
object |
Object of class aRTtable . |
colname |
The name of the new column. |
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 digits after the decimal point. |
autonumber |
Whether the elements of the column start with one and will be automatically created by the DBMS. |
Pedro Ribeiro de Andrade
See aRTtable-class
to show the description of this class.