change_timestamps_start: Changes timestamps to a given start time

Description Usage Arguments Methods (by class)

View source: R/pupilr-preprocessing.R

Description

Zero bases timestamps (substracts start_time) and saves new start time information in the obj$info$start_time

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
change_timestamps_start(obj, start_time, new_start_time = start_time, ...)

## S3 method for class 'pupilr'
change_timestamps_start(obj, start_time, new_start_time = start_time)

## S3 method for class 'surfaces'
change_timestamps_start(obj, start_time, new_start_time = start_time)

## S3 method for class 'surface.item'
change_timestamps_start(obj, start_time, new_start_time = start_time)

Arguments

obj

object which timestamps should be recomputed

start_time

numeric value to be substracted from timestamps

new_start_time

numeric value to be inserted as the new start. Optional, defaults to start_time

...

Methods (by class)


hejtmy/pupilr documentation built on April 23, 2021, 11:53 a.m.