del_names: Delete name of xts

Description Usage Arguments Details Author(s) Examples

View source: R/del_names.R

Description

Delete name of xts

Usage

1

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

1
2
3
4
5
timeseries <- dsa::daily_sim()$original # timeseries inherits name from original
colnames(timeseries)
colnames(del_names(timeseries))
y <- del_names(timeseries)
colnames(merge(timeseries, y))

dsa documentation built on June 21, 2021, 9:07 a.m.