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 Nov. 10, 2022, 6:17 p.m.