plot.ravetools_crp: Plot CRP results

View source: R/crp.R

plot.ravetools_crpR Documentation

Plot ⁠CRP⁠ results

Description

S3 plot method for objects of class ravetools_crp returned by crp. Produces a three-panel figure:

  1. Single-trial traces over the full analysis window with the mean and the scaled canonical shape C(t) overlaid (the shape is drawn only up to \tau_R, so the cut-off is itself informative).

  2. Per-trial \alpha' weights sorted in ascending order.

  3. Mean cross-trial projection profile with vertical lines marking \tau_{lb}, \tau_R and \tau_{ub}.

Usage

## S3 method for class 'ravetools_crp'
plot(x, ...)

Arguments

x

an object of class ravetools_crp as returned by crp.

...

additional graphical parameters passed to par (e.g. mar, cex.axis); currently unused beyond restoring the previous par state on exit.

Value

Invisibly returns x.


ravetools documentation built on May 23, 2026, 9:10 a.m.