ccfBest: improved ccfBest function with MA and slope filters, to mimic...

View source: R/sync_CCFBest.R

ccfBestR Documentation

improved ccfBest function with MA and slope filters, to mimic Marci et al 2007 procedure.

Description

improved ccfBest function with MA and slope filters, to mimic Marci et al 2007 procedure.

Usage

ccfBest(
  x,
  signal = "SC",
  lagSec,
  winSec,
  incSec,
  accelSec,
  slopes = c(NA, NA),
  MA = c(NA, NA),
  weight_type = c("center", "free", "off"),
  simplify = T,
  outputName = "CCFBest"
)

Arguments

slopes

vector of length 2, containing the window size and increments of a "average slope" filter, in seconds

MA

vector of length 2, containing the window size and increments of the moving average filter, in seconds


kleinbub/rIP documentation built on Dec. 21, 2024, 9:15 a.m.