Learn R Programming

xpose (version 0.4.19)

print.xpose_plot: Draw an xpose_plot object

Description

This function explicitly draw an xpose_plot and interprets keywords contained in labels.

Usage

# S3 method for xpose_plot
print(x, page, ...)

Arguments

x

An xpose_plot object.

page

The page number to be drawn. Can be specified as vector or range of integer values.

...

Options to be passed on to the ggplot2 print method.

Examples

Run this code
my_plot <- dv_vs_ipred(xpdb_ex_pk) +
            labs(title = 'A label with keywords: @nind individuals & @nobs observations')
# Using the print function
print(my_plot)

# Or simply by writting the plot object name
my_plot

Run the code above in your browser using DataLab