
Build AR(1) covariate list from a list of response matrices
Source:R/func_gen_data.R
gen_F_ls_AR1.RdConstructs the time-varying covariate list \(F_t\) for a first-order autoregressive model: \(F_t = Y_{t-1}\). No earlier output exists at \(t = 1\), so \(F_1\) is a matrix of ones (a per-site intercept). The design is causal and deterministic: \(F_t\) uses only outputs before time \(t\). (Versions up to 1.1.1 used \(F_1 = Y_1\), the response itself.)