Learn R Programming

rpact (version 4.1.0)

plot.SummaryFactory: Summary Factory Plotting

Description

Plots a summary factory.

Usage

# S3 method for SummaryFactory
plot(x, y, ..., showSummary = FALSE)

Value

Returns a ggplot2 object.

Arguments

x

The summary factory object.

y

Not available for this kind of plot (is only defined to be compatible to the generic plot function).

...

Optional plot arguments. At the moment xlim and ylim are implemented for changing x or y axis limits without dropping data observations.

showSummary

Show the summary before creating the plot output, default is FALSE.

Details

Generic function to plot all kinds of summary factories.