Learn R Programming

eyeris (version 2.1.1)

zscore_pupil: Internal function to z-score pupil data

Description

This function z-scores pupil data by subtracting the mean and dividing by the standard deviation.

This function is called by the exposed wrapper zscore()

Usage

zscore_pupil(x, prev_op)

Value

A vector of z-scored pupil data

Arguments

x

A data frame containing pupil data

prev_op

The name of the previous operation in the pipeline