matrix-methods | R Documentation |
Apply matrix attributes to a mondate
.
matrix(data = NA, nrow = 1, ncol = 1, byrow = FALSE, dimnames = NULL)
Shapes mondate
data
as a matrix.
Inherits the mondate
's other properties.
See matrix
for further details.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.