aggregate_duplicates: Aggregate event data from a single participation

aggregate_duplicatesR Documentation

Aggregate event data from a single participation

Description

Takes event data from a single participation and returns an aggregated form, where events with identical codes that occur directly after each other are aggregated to a single event. The duration values are correspondingly adjusted, and for each aggregated event an intensity is calculated that describes how many events occurred in the original form.

Usage

aggregate_duplicates(event_list)

Arguments

event_list

A list including the event data

Value

A list including the aggregated event data


LucaOffice/lucar documentation built on Dec. 5, 2023, 5:14 a.m.