Removes a row (or rows) from a 1- or 2-dimensional dataset.
USAGE:
remove.row(target, start.row, count)
REQUIRED ARGUMENTS:
target
1- or 2-dimensional dataset from which the row(s) will be removed. A
1-dimensional dataset is considered to be a single, unnamed column of
length()
rows.
start.row
integer or character (name-matching) value specifying the row of
target at
which the removal is to be done. To specify the last row of
target, use
"@END" or
"".
count
integer value specifying the number of rows to be removed.
VALUE:
The target dataset with the row(s) removed.
SEE ALSO:
,
,
,
,
,
.
EXAMPLES:
# create a dataset with all but the 6 "Volkswagen xxx" rows of car.all
car.new <- remove.row(car.all, "Volkswagen Corrado", 6)