A function to print the plot spec. The print function will print the plot spec in summary form. To view all parameters, set the verbose parameter to TRUE.

# S3 method for plot_spec
print(x, ..., verbose = FALSE)

Arguments

x

The plot spec.

...

Additional parameters to pass to the underlying print function.

verbose

Whether to print in verbose form. Default is FALSE.

Value

The plot spec, invisibly.

See also

create_plot function to create a plot specification.

Other plot: create_plot()

Examples

txt <- create_text("Lorem ipsum dolor sit amet, consectetur...")
print(txt)

# A text specification:
# - text: data.frame 'mtcars' 32 rows 11 cols