Learn R Programming

EZFragility (version 1.0.3)

ridge: fit a generalized linear model to compute adjacency matrix A

Description

A x(t) = x(t+1)

Usage

ridge(xt, xtp1, lambda)

Value

adjacency matrix A

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.