Learn R Programming

distantia (version 2.0.0)

momentum_stats: 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)

Value

data frame

Arguments

df

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

See Also

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

Examples

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

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

df_stats <- distantia_stats(df = df)

df_stats

Run the code above in your browser using DataLab