to_ar function

Convert to array

Convert to array

to_ar(h, lag_max, u = TRUE)

Arguments

  • h: Distance matrix.
  • lag_max: Maximum time lag.
  • u: Logical; TRUE if u_ar needs to be outputted.

Returns

A list of arrays of h and u.