momentum_stats: Stats of Dissimilarity Data Frame

View source: R/momentum_stats.R

momentum_statsR Documentation

Stats of Dissimilarity Data Frame

Description

Takes the output of distantia() to return a data frame with one row per time series with the stats of its dissimilarity scores with all other time series.

Usage

momentum_stats(df = NULL)

Arguments

df

(required, data frame) Output of momentum(), momentum_ls(), or momentum_dtw(). Default: NULL

Value

data frame

See Also

Other momentum_support: momentum_aggregate(), momentum_boxplot(), momentum_model_frame(), momentum_spatial(), momentum_to_wide()

Examples

tsl <- tsl_simulate(
  n = 5,
  irregular = FALSE
  )

df <- distantia(
  tsl = tsl,
  lock_step = TRUE
  )

df_stats <- distantia_stats(df = df)

df_stats


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