Learn R Programming

xpose (version 0.4.19)

check_plot_type: Check plot `type`

Description

Check plot `type`

Usage

check_plot_type(type, allowed)

Value

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

Arguments

type

A character string guiding the plot type.

allowed

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