Skip to contents

Reshapes x$data into a \(T \times N\) numeric matrix where rows are time steps and columns are grid cells.

Usage

hm_to_matrix(x)

Arguments

x

An hm_hazard object after [hm_standardize_coords()] and [hm_decode_time()].

Value

A numeric matrix with attributes time and coords.

See also

[hm_decode_time()], [hm_standardize_coords()]