Skip to contents

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.