strongest_trend: Strongest Trend

View source: R/multi-metric-functions.R

strongest_trendR Documentation

Strongest Trend

Description

Out of a series of metrics, which one does the given asset_id show the clearest trend in over time?

Usage

strongest_trend(metric_df)

Arguments

metric_df

A dataframe with the following columns: asset_id (chr), asset_class(chr), value (dbl), time (date or dttm), and name (chr).

Value

A sentence denoting which metric in the table the asset id in question exhibited the strongest trend in over time.

Examples

## Not run: 
strongest_trend(metric_df)

## End(Not run)


jupitertrades/tabletotext documentation built on Oct. 31, 2022, 5:47 p.m.