analyzeOneCondition: Analyze one condition

Description Usage Arguments Value Examples

Description

Analyze one condition

Usage

1
analyzeOneCondition(df, numItemsInStream, paramBounds, nReplicates = 3)

Arguments

df

A dataframe that must have fields targetSP and SPE

numItemsInStream

Number of items in the stream (assumed to be the same for all trials)

paramBounds

With fields lower and upper, each of length two indicating min and max val for efficacy,latency,precision

nReplicates

How many times to fit the model (with different random starting points within paramBounds)

Value

efficay, latency, precision, val (negative log likelihood), and warnings (currently disabled, don't know why)

Examples

1
2
df <-  subset(P2E2pilot,subject=="CB" & target==1 & condition==1)
analyzeOneCondition(df, 16, parameterBounds(), 1)

alexholcombe/mixRSVP documentation built on June 7, 2019, 3:50 p.m.