parse_for_tc: Parse data for timecourses

View source: R/plot_timecourse.R

parse_for_tcR Documentation

Parse data for timecourses

Description

Internal command for parsing various data structures into a suitable format for tc_plot

Usage

parse_for_tc(
  data,
  time_lim,
  electrode,
  baseline,
  add_CI,
  facets,
  mapping,
  colour
)

Arguments

data

data to be parsed

time_lim

time limits to be returned.

electrode

electrodes to be selected

baseline

baseline times to be average and subtracted

add_CI

Logical for whether CIS are required

facets

A RHS-only formula for use with ggplot2::facet_wrap

mapping

A ggplot2 aes() call with axis mappings

colour

A character vector indicating which variable to use for colour.


craddm/eegUtils documentation built on March 1, 2025, 3:23 p.m.