getEventsToSlidingWindowsMapping {AdhereR}R Documentation

getEventsToSlidingWindowsMapping

Description

This function returns the event-to-sliding-window mapping, if this information exists.

Usage

getEventsToSlidingWindowsMapping(x)

Arguments

x

is an CMA_sliding_window object.

Details

There are cases where it is interesting to know which events belong to which sliding windows and which events have been actually used in computing the simple CMA for each sliding window This information can be returned by CMA_sliding_window() if the parameter return.mapping.events.episodes is set to TRUE.

Value

The mapping between events and episodes, if it exists as the mapping.windows.to.events component of the CMA_sliding_window object object, or NULL otherwise.


[Package AdhereR version 0.8.1 Index]