Learn R Programming

xpose (version 0.4.19)

filter_xp_theme: Subset an `xp_theme`

Description

Subset an `xp_theme`

Usage

filter_xp_theme(xp_theme, regex = NULL, action = "keep")

Value

A modified `xp_theme`

Arguments

xp_theme

An xpose theme list.

regex

A string used to find matching names in the `xp_theme`

action

A string used to determine the action of on the xp_theme. `keep` will subset the `xp_theme` to only the names matching the `regex`, while `drop` will drop the matches.