Learn R Programming

CausalGPS (version 0.5.1)

plot.cgps_cw: Extend generic plot functions for cgps_cw class

Description

A wrapper function to extend generic plot functions for cgps_cw class.

Usage

# S3 method for cgps_cw
plot(x, ...)

Value

Returns a ggplot2 object, invisibly. This function is called for side effects.

Arguments

x

A cgps_cw object.

...

Additional arguments passed to customize the plot.

Details

Additional parameters:

  • every_n: Puts label to ID at every n interval (default = 10)

  • subset_id: A vector of range of ids to be included in the plot (default = NULL)