FM_mk_error_fig {formods}R 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!")

[Package formods version 0.1.4 Index]