Learn R Programming

reporter (version 1.4.4)

print.plot_spec: 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 plot_spec
print(x, ..., verbose = FALSE)

Value

The plot spec, invisibly.

Arguments

x

The plot spec.

...

Additional parameters to pass to the underlying print function.

verbose

Whether to print in verbose form. Default is FALSE.

See Also

create_plot function to create a plot specification.

Other plot: create_plot()

Examples

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

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

Run the code above in your browser using DataLab