Convenience wrapper around .fitMVAR that optionally selects the
model order automatically via mvarOrderSelect.
Arguments
- X
A numeric matrix (
time x channels).- order
Integer order, or
NULL(default) to select automatically.- method
Estimator (see
.fitMVAR).- max_order
Maximum order for automatic selection (default: 20).
- criterion
Selection criterion when
orderisNULL(default "bic").