Skip to contents

Get an event by name from a TaskSchema

Usage

getEvent(schema, event_name)

Arguments

schema

A TaskSchema object

event_name

Name of the event to retrieve

Value

An Event object or NULL if not found

References

Winter DA (2009). "Biomechanics and Motor Control of Human Movement." 4th ed. Wiley.

Examples

getEvent(schema_gait, getEventNames(schema_gait)[1])
#> Event: Heel Strike 
#>   Name: hs1 
#>   Detection: threshold 
#>   Typical timing: 0 %