aRTtable-addRows {aRT} | R Documentation

## Add rows to a table

### Description

Function to add new rows to a table. It requires an exact matching among colnames and the table colnames (although they do not have to be in the same order).

If the table has one of the primary keys missing (or the primary key missing, if there is only one), this function uses rownames as values.

If a row already exists in the database, it will be updated.

### Usage

    ## S4 method for signature 'aRTtable':
    addRows(object, data)

### Arguments

`object` | Object of class `aRTtable`.
`data` | A `data.frame`.

### Author(s)

Pedro Ribeiro de Andrade

### See Also

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

[Package aRT version 1.7-1 Index]