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 entire loaded time range with the mean, the canonical shape C(t) on its active support (solid) and the full-range extension C_{full}(t) (dashed) overlaid; the analysis window edges and, when present, \tau_{onset} are marked.

  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}, plus the reverse onset profile and \tau_{onset} when detect_onset was used.

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 Aug. 21, 2026, 5:06 p.m.