FM_mk_error_fig: Generates 'ggplot' Object with Error Message

View source: R/formods.R

FM_mk_error_figR Documentation

Generates 'ggplot' Object with Error Message

Description

Takes a vector of messages and returns a ggplot object with the text in the figure. This can be used in automated figure generation to cascade an error message to the end user.

Usage

FM_mk_error_fig(msgs)

Arguments

msgs

Vector of error messages

Value

ggplot object

Examples

FM_mk_error_fig("Oh nos! You've made a mistake!")

formods documentation built on April 12, 2025, 1:57 a.m.