OccToEvents_By_Chunk: Maps occurrences into events by chunks.

Description Usage Arguments Value

View source: R/ThreadNet_Core.R

Description

Thus function provides a way to map occurrences into events, so is is not necessary to interpret individual occurrences in isolation. Provides three ways to accomplish this mapping.

Usage

1
2
OccToEvents_By_Chunk(o, m, EventMapName, uniform_chunk_size, tThreshold,
  timescale = "mins", chunk_CF, thread_CF, event_CF, compare_CF)

Arguments

o

a dataframe of occurrences

m

= method parameter = one of c('Variable chunks','Uniform chunks')

EventMapName

= used to store this mapping for visualization and comparison

uniform_chunk_size

= used to identify breakpoints – from input slider

tThreshold

= used to identify breakpoints – from input slider

timescale

hours, min or sec

chunk_CF

- context factors used to delineate chunks

thread_CF

- context factors used to delineate threads

event_CF

- context factors used to define events

compare_CF

= context factors used for comparison – need to be copied over here when the thread is created.

Value

event data frame, with occurrences aggregated into events.


ThreadNet/ThreadNet documentation built on July 26, 2019, 8:16 p.m.