Get timesteps from panel matrix Y — timesteps (original) (raw)

Source: R/utils.R

timesteps.Rd

timesteps are stored as colnames(Y), but column names cannot be Date objects. Instead, we use strings. If they are strings convertible to dates, return that

timesteps(Y)

Arguments

Y a matrix

Value

its column names interpreted as Dates if possible