del_names {dsa} | R Documentation |
Delete name of xts
Description
Delete name of xts
Usage
del_names(x)
Arguments
x |
xts time series |
Details
This function can be helpful if one xts is created to be equal to another xts and then changed afterwards. In these cases the new xts inherits the column name of the old xts.
Author(s)
Daniel Ollech
Examples
timeseries <- dsa::daily_sim()$original # timeseries inherits name from original
colnames(timeseries)
colnames(del_names(timeseries))
y <- del_names(timeseries)
colnames(merge(timeseries, y))
[Package dsa version 1.0.12 Index]