build_table: Create a basic data frame for plotting

Description Usage Arguments Value

View source: R/aux_build_table.R

Description

Create a basic data frame for plotting

Usage

1
build_table(hm_obj, slot_name, col_name, from = NULL, to = NULL)

Arguments

hm_obj

a valid hydromet_xxx class object.

slot_name

string vector with the slot(s) to extract from the hm_obj.

col_name

a list containing a vector string per slot with the name(s) of the column(s) to plot.

from

string (or POSIXct) with the starting date. You can use 'from' without 'to'. In this case you will subset your data 'from' till the end.

to

string (or POSIXct) with the ending date. You can use 'to' without 'from'. In this case you will subset your data from the beginning till 'to'.

Value

A data frame with the date in the first column and the variables to plot on the others.


hydrotoolbox documentation built on July 9, 2021, 1:06 a.m.