atl_filter_covariates: Filter data by position covariates.

Description Usage Arguments Value

View source: R/fun_filter_covariates.R

Description

Filter data by position covariates.

Usage

1

Arguments

data

A dataframe or similar containing the variables to be filtered.

filters

A character vector of filter expressions. An example might be "speed < 20". The filtering variables must be in the dataframe. The function will not explicitly check whether the filtering variables are present; this makes it flexible, allowing expressions such as "between(speed, 2, 20)", but also something to use at your own risk. A missing filter variables will result in an empty data frame.

Value

A dataframe filtered using the filters specified.


MrEtmAr/Pratik_atlastools documentation built on Dec. 31, 2020, 3:18 p.m.