Add Rows(s) to a Dataset

DESCRIPTION:

Assigns a row (or rows) to a 1- or 2-dimensional dataset.

USAGE:

assign.rows(target, rows, column=<<see below>>, value,
            row.names=NULL, ...) 

REQUIRED ARGUMENTS:

target
1- or 2-dimensional dataset to which the row(s) will be assigned. A 1-dimensional dataset is considered to be a single, unnamed column of length() rows.
rows
logical, integer, or character vector specifying the row(s) of target which is/are to be assigned.
value
value to be assigned to rows (and column if specified) of target (assumed to be of an appropriate data type).

OPTIONAL ARGUMENTS:

column
logical, integer, or character vector specifying the column(s) of target which is/are to be assigned within rows of target. Ignored if target is a 1-dimensional dataset.
row.names
character vector specifying the name(s) of the assigned row(s). The default value is name.rows(value).

VALUE:

The target dataset with the assigned row(s).

SEE ALSO:

, , , , , .

EXAMPLES:

rhino.is.elephant <- assign.rows(animals, count.rows(animals)+1, 
                                 value=select.rows(animals, "ele"), 
                                 row.names="rhi")