ridge {EZFragility}R Documentation

fit a generalized linear model to compute adjacency matrix A

Description

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

Usage

ridge(xt, xtp1, lambda)

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.

Value

adjacency matrix A


[Package EZFragility version 1.0.3 Index]