Get or set dimnames of an xts object.
Value
A list or character string containing coerced row names and/or actual column names.
Attempts to set rownames on xts objects via rownames or dimnames will silently fail.
Details
For efficienty, xts objects do not have rownames (unlike zoo objects).
Attempts to set rownames on an xts object will silently set them to NULL.
This is done for internal compatibility reasons, as well as to provide
consistency in performance regardless of object use.