Description Usage Arguments Value Examples
View source: R/convert-relative-initial.R
Calculate relative timeseries using the initial value as benchmark.
1 | convert_relative_initial(data, col = "atoutput")
|
data |
Dataframe to apply the transformation to. |
col |
Character value giving the name of the column to transform.
Default is |
Dataframe with transformed column 'col'.
1 2 | df <- convert_relative_initial(ref_structn)
head(df[df$layer == 1, ], n = 15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.