plot.cgps_cw: Extend generic plot functions for cgps_cw class

View source: R/plot.R

plot.cgps_cwR Documentation

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 class 'cgps_cw'
plot(x, ...)

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)

Value

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


CausalGPS documentation built on June 22, 2024, 9:31 a.m.