tsl_colnames_prefix: Append Prefix to Column Names of Time Series List

View source: R/tsl_colnames.R

tsl_colnames_prefixR Documentation

Append Prefix to Column Names of Time Series List

Description

Append Prefix to Column Names of Time Series List

Usage

tsl_colnames_prefix(tsl = NULL, prefix = NULL)

Arguments

tsl

(required, list) Time series list. Default: NULL

prefix

(optional, character string) String to prepend to the column names. Default: NULL.

Value

time series list

See Also

Other tsl_management: tsl_burst(), tsl_colnames_clean(), tsl_colnames_get(), tsl_colnames_set(), tsl_colnames_suffix(), tsl_count_NA(), tsl_diagnose(), tsl_handle_NA(), tsl_join(), tsl_names_clean(), tsl_names_get(), tsl_names_set(), tsl_names_test(), tsl_ncol(), tsl_nrow(), tsl_repair(), tsl_subset(), tsl_time(), tsl_to_df()

Examples

tsl <- tsl_simulate()

tsl_colnames_get(tsl = tsl)

tsl <- tsl_colnames_prefix(
  tsl = tsl,
  prefix = "my_prefix_"
)

tsl_colnames_get(tsl = tsl)

distantia documentation built on April 4, 2025, 5:42 a.m.