Extract coredata of an xts
object - removing
all attributes except dim
and dimnames
and
returning a matrix object with rownames converted from
the index of the xts
object.
The fmt
argument, if TRUE, allows the internal
index formatting specified by the user to be used. Alternatively,
it may be a valid formatting string to be passed to format
.
Setting to FALSE will return the row names by simply
coercing the index class to a character string in the default
manner.
xcoredata
is the functional complement to
coredata
, returning all of the attributes
normally removed by coredata
. Its purpose,
along with the replacement function xcoredata<-
is primarily for use by developers using xts
to allow for internal replacement of values
removed during use of non xts-aware functions.