dual_y_table {hydrotoolbox}R 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.


[Package hydrotoolbox version 1.1.2 Index]