Skip to contents

Build an empty horizons data.table with the canonical schema

Usage

make_empty_horizons(n = 0L)

Arguments

n

Number of rows (default 0).

Value

A data.table with all canonical horizon columns filled with NAs of the correct type.

Examples

h <- make_empty_horizons(3)
nrow(h)
#> [1] 3