move.row(target, target.start.row, source=<<see below>>,
source.row.spec=<<see below>>, overwrite=F)
length() rows.
target to
which the move is to be done. To specify the last row of
target plus one, use
"@END",
"" , or a character value not matching any of the row names of
target; in the latter case,
target.start.row will be used for the name(s) of
the moved row(s).
length()
rows. The default is
target.
source which is/are to be moved. To specify all rows of
source, use
"@ALL" or "source, use "@END" or
"" . The default is
"@ALL".
TRUE, the existing row(s) of
target will be overwritten by
the moved row(s); if
FALSE, all existing rows of
target (if any) from
target.start.row to the last row will be shifted by the number of rows as
determined by
source.row.spec.
source.row.spec row(s) of
source, unless overridden by
target.start.row
.
target
and
source must have compatible rows (the same number of columns, and
the same data type in all corresponding columns); otherwise, an error will occur.
source dataset will have its
source.row.spec row(s) removed.
fuel.shrink <- move.row(fuel.frame,
index.rowcol(fuel.frame,Type=="Small",which="rows")[1],
source.row.spec="Honda Civic CRX Si 4")