read_timing_file: Read And Parse PEEK Trial Timing File

Description Usage Arguments Details Examples

Description

read_timing_file() is a special case of read_delm(). It's useful for converting the 00:01:22 (min, sec, frames) format to milliseconds for each key event in the trial (e.g., Sound On, Noun On, etc.) If you set tidy = FALSE, the function behaves like the default read_delim(). Note that you are able to pass along any arguments that you would use with read_delim().

Usage

1
read_timing_file(file, tidy = TRUE, fps = 29.97, ...)

Arguments

file

Either a path to a file, a connection, or literal data.

tidy

A boolean, if tidy = FALSE this functions behaves just read_delim().

fps

An double indicating the frame rate used when making the timing file.

...

Additional arguments, typically used to control the read_tsv() function.

Details

This function allows you to read and parse a single raw timing file generated by human coders marking key points in the trial

Examples

1
## Not run: d <- read_order_file(file = "Habla2_25_Clips_order.txt", tidy = TRUE)

kemacdonald/Rtobii documentation built on May 4, 2019, 1:21 p.m.