computeCumulativeCICorrelation: Computes cumulative trial CIs correlations with final/target...

Description Usage Arguments Details Value

View source: R/rcicr.R

Description

Computes cumulative trial CIs correlations with final/target CI.

Usage

1
2
computeCumulativeCICorrelation(stimuli, responses, baseimage, rdata,
  targetci = list(), step = 1)

Arguments

stimuli

Vector with stimulus numbers (should be numeric) that were presented in the order of the response vector. Stimulus numbers must match those in file name of the generated stimuli

responses

Vector specifying the responses in the same order of the stimuli vector, coded 1 for original stimulus selected and -1 for inverted stimulus selected.

baseimage

String specifying which base image was used. Not the file name, but the key used in the list of base images at time of generating the stimuli.

rdata

String pointing to .RData file that was created when stimuli were generated. This file contains the contrast parameters of all generated stimuli.

targetci

List Target CI object generated with rcicr functions to correlate cumulative CIs with

step

Step size in sequence of trials to compute correlations with

Details

Use for instance for plotting curves of trial-final/target CI correlations to estimate how many trials are necessary in your task

Value

Vector containing correlation between cumulative CI and final/target CI


rcicr documentation built on May 2, 2019, 5:24 p.m.