getReachAngleAt: Angular deviation of a reach from target at a specific point.

View source: R/reachProcessing.R

getReachAngleAtR Documentation

Angular deviation of a reach from target at a specific point.

Description

?

Usage

getReachAngleAt(
  trialdf,
  location = "pr0.33333",
  posunit = "pix",
  timeunit = "ms",
  device = "hand",
  holdvelocity = NA,
  holdduration = NA
)

Arguments

trialdf

Data frame representing the reach.

location

String specifying which location to use.

posunit

String with the unit of x,y coordinates (pix, cm, ...)

timeunit

String with the unit of time (s, ms, ...)

device

String saying what position to use (hand, mouse, robot...)

holdvelocity

Maximum velocity for a hold.

holdduration

Minimum duration for a hold.

Details

?

Value

Matrix with 1 row, 5 columns: 1: angular deviation 2: target angle 3: x position of location 4: y position of location 5: time of location The idea is to combine this into a larger matrix (or data frame) with multiple others, and then do further processing on that.

Examples

?

thartbm/SMCL documentation built on Oct. 23, 2022, 5:17 a.m.