Learn R Programming

tbltools (version 0.0.3)

filter_rows: Filter rows

Description

Filter rows via integer/numeric position or logical vector

Usage

filter_rows(.data, ...)

Arguments

.data

Data frame or two dimensional array

...

This should evaluate and reduce down to a numeric (row number) or logical vector. Row numbers higher than what exists in x will be ignored. Any numeric vector must be either all positive or all negative.

Value

Sliced/filtered data frame