Arguments
- df
df A dataframe.
- ind
ind A vector of indices.
Value
A subsetted dataframe with less rows.
Examples
filter2(iris, 3:5)
#> Sepal.Length Sepal.Width Petal.Length Petal.Width Species
#> 3 4.7 3.2 1.3 0.2 setosa
#> 4 4.6 3.1 1.5 0.2 setosa
#> 5 5.0 3.6 1.4 0.2 setosa