convert_relative_initial: Calculate relative timeseries using the initial value as...

Description Usage Arguments Value Examples

View source: R/convert-relative-initial.R

Description

Calculate relative timeseries using the initial value as benchmark.

Usage

1

Arguments

data

Dataframe to apply the transformation to.

col

Character value giving the name of the column to transform. Default is "atoutput".

Value

Dataframe with transformed column 'col'.

Examples

1
2
df <- convert_relative_initial(ref_structn)
head(df[df$layer == 1, ], n = 15)

alketh/atlantistools documentation built on Oct. 30, 2021, 5:46 a.m.