Description Usage Arguments Value Examples

View source: R/analyze_one_condition.R

Analyze one condition, and return estimates as dataframe so suitable for use in dplyr pipelines

1 | ```
analyzeOneConditionDF(df, numItemsInStream, paramBounds, nReplicates = 3)
``` |

`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 |

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

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

alexholcombe/mixRSVP documentation built on Aug. 30, 2018, 5:43 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.