R/prepare_data.R
hm_to_matrix.Rd
Reshapes x$data into a \(T \times N\) numeric matrix where rows are time steps and columns are grid cells.
x$data
hm_to_matrix(x)
An hm_hazard object after [hm_standardize_coords()] and [hm_decode_time()].
hm_hazard
A numeric matrix with attributes time and coords.
time
coords
[hm_decode_time()], [hm_standardize_coords()]