dual_y_table: Rescale the data frame values in order to graph a dual y axis...

View source: R/aux_dual_y_table.R

dual_y_tableR Documentation

Rescale the data frame values in order to graph a dual y axis plot

Description

Rescale the data frame values in order to graph a dual y axis plot

Usage

dual_y_table(df, y_left, y_right)

Arguments

df

data frame provided by build_table function.

y_left

string vector with column names of the variables to plot in the left y axis.

y_right

string vector with column names of the variables to plot in the right y axis.

Value

A list containing the rescaled data frame and the transformation formula.


hydrotoolbox documentation built on Oct. 25, 2022, 1:05 a.m.