zoo_name_get {distantia} | R Documentation |
Get Name of a Zoo Time Series
Description
Just a convenient wrapper of attributes(x)$name
.
Usage
zoo_name_get(x = NULL)
Arguments
x |
(required, zoo object) Zoo time series to analyze. Default: NULL. |
Value
character string
See Also
Other zoo_functions:
zoo_aggregate()
,
zoo_name_clean()
,
zoo_name_set()
,
zoo_permute()
,
zoo_plot()
,
zoo_resample()
,
zoo_smooth_exponential()
,
zoo_smooth_window()
,
zoo_time()
,
zoo_to_tsl()
,
zoo_vector_to_matrix()
Examples
#simulate zoo time series
x <- zoo_simulate()
#get current name
zoo_name_get(x = x)
#change name
x <- zoo_name_set(
x = x,
name = "My.New.name"
)
zoo_name_get(x = x)
#clean name
x <- zoo_name_clean(
x = x,
lowercase = TRUE
)
zoo_name_get(x = x)
[Package distantia version 2.0.2 Index]