Applies fit_graphical_var() to each subject separately, returning one
person-specific network per individual — the idiographic "all individuals"
workflow. Subjects that cannot be fit (too few lag pairs after listwise
deletion) are dropped with a warning.
Arguments
- data
A data.frame or matrix with columns for variables, and optionally id, day, beep columns for panel/ESM data. A prepared list containing numeric matrices
data_c(current responses) anddata_l(lagged design, with or without an intercept column) is also accepted.- vars
Character vector of variable names. May be omitted for prepared input when
data_chas column names.- id
Character. The subject-id column (required here).
- day
Character. Name of the day/session column. Default: NULL.
- beep
Character. Name of the beep/measurement column. Default: NULL.
- min_obs
Integer or
NULL. Keep only subjects with at least this many observations (counts taken fromdata). DefaultNULL.- ...
Further arguments passed to
fit_graphical_var()(e.g.n_lambda,gamma,scale).