matrix-methods {mondate} | R Documentation |
Matrix Methods for Mondate's
Description
Apply matrix attributes to a mondate
.
Methods
matrix(data = NA, nrow = 1, ncol = 1, byrow = FALSE, dimnames = NULL)
-
Shapes
mondate
data
as a matrix. Inherits themondate
's other properties. Seematrix
for further details.
Examples
m <- mondate.mdy(12, 31, 2001:2006) # 6 year-ends
matrix(m) # a one-column matrix
matrix(m, 2, byrow=TRUE) # a two-row matrix stored in row-order
[Package mondate version 1.0 Index]