filter.grouped_gen_tbl: A filter method for grouped 'gen_tibble' objects

View source: R/tidyverse.R

filter.grouped_gen_tblR Documentation

A filter method for grouped gen_tibble objects

Description

A filter method for grouped gen_tibble objects

Usage

## S3 method for class 'grouped_gen_tbl'
filter(..., deparse.level = 1)

Arguments

...

a gen_tibble and a data.frame or tibble

deparse.level

an integer controlling the construction of column names.

Value

a grouped gen_tibble

Examples

test_gt <- load_example_gt("grouped_gen_tbl")
test_gt %>% filter(id %in% c("a", "c"))
test_gt <- load_example_gt("grouped_gen_tbl_sf")
test_gt %>% filter(id %in% c("a", "c"))

tidypopgen documentation built on Aug. 28, 2025, 1:08 a.m.