calc_curves_dataframe: Helper to create x,ys of fitted curves so can plot

Description Usage Arguments Examples

Description

To be used with ggplot. Idea is to split dataframe into conditions, send it to calc_curves_dataframes to fit data if not already fit and either way calculate the curves.

Usage

1
calc_curves_dataframe(df, minSPE, maxSPE, numItemsInStream)

Arguments

df

the data as a dataframe. Must contain SPE and targetSP

minSPE

smallest possible serial position error

maxSPE

largest possible serial position error

numItemsInStream

number of items in the RSVP stream (the stimulus)

Examples

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

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