Skip to contents

dplyr filtering for PKNCA

Usage

# S3 method for PKNCAresults
filter(.data, ..., .preserve = FALSE)

# S3 method for PKNCAconc
filter(.data, ..., .preserve = FALSE)

# S3 method for PKNCAdose
filter(.data, ..., .preserve = FALSE)

Arguments

.data

A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr). See Methods, below, for more details.

...

<data-masking> Expressions that return a logical value, and are defined in terms of the variables in .data. If multiple expressions are included, they are combined with the & operator. Only rows for which all conditions evaluate to TRUE are kept.

.preserve

Relevant when the .data input is grouped. If .preserve = FALSE (the default), the grouping structure is recalculated based on the resulting data, otherwise the grouping is kept as is.