Skip to contents

This function lets the user print a plot without plot, with a customizable message. It is quite useful for Shiny renderPlot when using filters and no data is returned.

Usage

noPlot(message = "Nothing to show here!", size = 4.5, ...)

Arguments

message

Character. What message do you wish to show?

size

Numeric. Font size for message input.

...

Additional parameters passed to theme_lares().

Value

Empty ggplot2 object (with a message if set).

See also

Other Visualization: distr(), freqs_df(), freqs_list(), freqs_plot(), freqs(), plot_chord(), plot_survey(), plot_timeline(), tree_var()

Examples

Sys.unsetenv("LARES_FONT") # Temporal
noPlot(message = "No plot to show!")

noPlot(background = "#FF5500", size = 7)