Learn R Programming

EZFragility (version 1.0.3)

ridgeSearch: Ridge Regression for Electrode Readings

Description

Ridge regression to compute matrix adjancency matrix A such as A xt = xtpt1 the lambda parmeter is found by dichotomy such that A is stable (all eigenvalues have a norm less than one)

Usage

ridgeSearch(xt, xtp1, lambda = NULL)

Value

adjacency matrix Afin with lambda as attribute

Arguments

xt

matrix. iEEG time series for a given window, with electrodes names as rows and time points as columns

xtp1

matrix. the iEEG time serie at the next time point, with electrodes names as rows and time points as columns

lambda

Numeric Vector. A user supplied lambda sequence.