segmentTS.1matchsignal: Match Signals

Description Usage Arguments Value

Description

This function matches the number of events in the time series. It is based on Ehret and Zehe's (2011) conception of event-type signals. But for our purposes, we treat the full time series as a single event and break up the time series into segements categorized as separate signals. This function is generally not used as we set all data points as the same 'event', but we keep this function here for future application.

Usage

1
2
segmentTS.1matchsignal(obs.evnt, sim.evnt, full.series = TRUE,
  limit4match = 0)

Arguments

obs.evnt

data.frame object with variables of start time (decimal.date), end time (decimal.date), match (integer)

sim.evnt

data.frame, as above, but for simulated data

full.series

default is TRUE. if FALSE, matching index depends on start and end times of events defined in the time-series.

limit4match

maximum number of values to search obs.evnt,sim.evnt for similar events. Default is zero, which means the search radius is small.

Value

a list with both obs.evnt,sim.evnt with an additional variable for the matching index; used in segmentTS.2catsignal


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