parseMinMaxIVs: Parse Min and Max IVs

Description Usage Arguments Value

View source: R/utils-parse.r

Description

Given the full report JSON object, reads the min and max IVs and formats them properly for plotting

Usage

1
2
parseMinMaxIVs(reportObject, timezone, type, invertedFlag,
  excludeMinMaxFlag, excludeZeroNegativeFlag)

Arguments

reportObject

the full report JSON object

timezone

the time zone to parse points into

type

the type of TS that these points belong to

invertedFlag

whether or not the axis for the TS is inverted

excludeMinMaxFlag

wheter or not min / max IVs should be plotted or labeled

excludeZeroNegativeFlag

whether or not zero/negative values are included

Value

a list containing the min and max IV values named as 'max_iv' and 'min_iv' as well as a boolean 'canLog' that represents whether or not the IVs allow for a logged Y-Axis.


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.