runSim_compare: Run simulation for multiple subjects

View source: R/onset_fix_comparison_sim_functions.R

runSim_compareR Documentation

Run simulation for multiple subjects

Description

Run simulation for multiple subjects

Usage

runSim_compare(
  nsub = 10,
  ntrials = 300,
  fnct = "logistic",
  fbst = FALSE,
  omDelay = 0,
  group = "A",
  alt = FALSE
)

Arguments

nsub

numeric, number of subjects in simulation

ntrials

number of vwp trials per subject

fnct

character vector indicatin curve type

fbst

use FBS+T assumption or not

omDelay

alternative mechanism for eye delay, can be constant or active bound var

group

name of group

alt

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

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.