filter_test_func: Test rows against a function

View source: R/filter_test_func.R

filter_test_funcR Documentation

Test rows against a function

Description

Filter the rows of a dataframe that fail a function applied to a column.

Usage

filter_test_func(df, test_col = "path", test_func = terra::rast, ...)

Arguments

df

Dataframe

test_col

Character name of column in df to test against test_func.

test_func

Name of function to test test_col with. test_col must be the first argument to test_func.

...

Other arguments passed to test_func.

Value

Filtered df.


Acanthiza/envFunc documentation built on Aug. 19, 2024, 4:50 a.m.