clean_laps: Clean lap information

Description Usage Arguments Value

Description

For driver data, add a 'lap' number column to the events and streams tibbles and remove all data that precedes the start of the first lap, and comes after the end of the last lap.

Usage

1
clean_laps(user, n_laps = 5, full_list = NULL)

Arguments

user

A list of "user" list objects created by reading functions like read_logs. Also handles single user list objects too.

n_laps

The number of laps that the participant was supposed to do in the simulation.

full_list

The full user list to be passed on to clean drone data only.

Value

Original user obejct with lap information handled and cleaned.


drsimonj/adapter documentation built on May 15, 2019, 2:51 p.m.