runSub_compare: Run simulation for single subject

View source: R/onset_fix_comparison_sim_functions.R

runSub_compareR Documentation

Run simulation for single subject

Description

Run simulation for single subject

Usage

runSub_compare(
  fnct = "logistic",
  ntrials = 300,
  fbst = TRUE,
  pars = NULL,
  omDelay = 0,
  alt
)

Arguments

fnct

character vector indicatin curve type

ntrials

number of vwp trials per subject

fbst

use FBS+T assumption or not

pars

curve parameters

omDelay

Alternative to using lasttime for saccade time – instead can take on a fixed value or bound RV

alt

TRUE/FALSE this determines if we use baseParams or baseParams2 for creating data

window

A time window to sample at different density

windowRate

sampling rate within window

Value

This runs simluation for single subject, returns a list containing information on subject, as well as trial data


collinn/eyetrackSim documentation built on March 28, 2023, 7:09 a.m.