print.plot_spec: Prints the plot spec

View source: R/plot_spec.R

print.plot_specR Documentation

Prints the plot spec

Description

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.

Usage

## S3 method for class '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

reporter documentation built on May 29, 2024, 4:43 a.m.