filter_by_ggcall_ids: Filter a named list by ids

View source: R/utils_arguments.R

filter_by_ggcall_idsR Documentation

Filter a named list by ids

Description

Filter a named list (often an aesthetic mapping or argument list) for only unprefixed elements, elements which don't match any of all_ids and those which match one of call_ids. For those that match, remove the id prefix.

Usage

filter_by_ggcall_ids(x, call_ids, all_ids)

Arguments

x

A named list to filter.

call_ids

A character vector of valid ids.

all_ids

A character vector of all possible ids.


dgkf/ggpackets documentation built on Oct. 12, 2022, 7:54 a.m.