array-method {mondate} | R Documentation |
Apply array attributes to a mondate
.
array(data = NA, dim = length(data), dimnames = NULL)
Shapes mondate
data
as a matrix.
Inherits the mondate
's other properties.
See array
for further details.
M <- mondate.mdy(12, 31, 2006:2011, timeunits = "years") # 6 year-ends
array(M, c(2,3))