Learn R Programming

hydrotoolbox (version 1.1.2)

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

Value

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

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.