segmentTS.4segdist: Segment Distance

Description Usage Arguments Value

Description

This function takes in the full time-series data for observed and simulated from segmentTS.1matchsignal. The boundaries of the segments in the time-series are defined using the positions of the major peaks and troughs from fn segmentTS.3eqsignal(). Each segment is then passed to segmentTS.4segdist to calculate the point-by-point segment statistics. Matches similar signals in the two time-series. Distance statistics are simulation minus observation.

Usage

1
segmentTS.4segdist(obs.seg, sim.seg)

Arguments

obs.seg

data.frame object with variables derived from segmentTS.1matchsignal

sim.seg

data.frame object, variables as in obs.seg, but for simulated data

Value

list object with 4 outputs: time-series of the matching times and values (poly_t,poly) and the distance statistics (dist_tdiff,dist_vdiff)


lcalle/segmentTS documentation built on May 7, 2019, 10:52 p.m.