check_plot_type: Check plot 'type'

View source: R/xplot_helpers.R

check_plot_typeR Documentation

Check plot 'type'

Description

Check plot 'type'

Usage

check_plot_type(type, allowed)

Arguments

type

A character string guiding the plot type.

allowed

A character vector of all allowed types e.g. ‘c(’p', 'l')'.

Value

Silent if proper user input else warns for unrecognized 'type'.


xpose documentation built on May 29, 2024, 5:12 a.m.