array-methods: Array Methods

Description Methods Examples

Description

Apply array attributes to a mondate.

Methods

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.

Examples

1
2
M <- mondate.mdy(12, 31, 2006:2011, timeunits = "years") # 6 year-ends
array(M, c(2,3))

mondate documentation built on Jan. 29, 2021, 5:06 p.m.