refframe: Spatial Reference Frame

View source: R/refframe.R

refframeR Documentation

Spatial Reference Frame

Description

Typically, two classes of spatial frames of reference: "egocentric" and "allocentric". The spatial acuity for both classes are calculated.

Usage

refframe(data, .by = NULL, .input = NULL, .extra = NULL)

Arguments

data

Raw data of class data.frame.

.by

The column name(s) in data used to be grouped by. If set to NULL (default), all data will be treated as from one subject and there will be no grouping columns in the value returned.

.input, .extra

Each is a list() containing all the input variable names and special values for certain variables. See more in the details section.

Value

An object with the same class as data contains following values:

mean_dist_err_allo/mean_dist_err_ego

Mean of the response distance errors for allocentric and egocentric conditions respectively.

mean_log_err_allo/mean_log_err_ego

Mean of the log-transformed (of base e) response distance errors for allocentric and egocentric conditions respectively.


psychelzh/preproc.iquizoo documentation built on Oct. 20, 2024, 6:27 p.m.