Description Usage Arguments Value Examples
Plot the simulation results from the output of dmcSim. The plot can be an overall summary, or individual plots (activation, trials, pdf, cdf, caf, delta, all). Plot type summary1 contains an activation plot, example individual trials, the probability distribution function (PDF), the cumulative distribution function (CDF), the conditional accuracy function (CAF) and delta plot. This requires that dmcSim is run with fullData = TRUE. Plot type summary2 contains only the PDF, CDF, CAF and delta plots and does not require that dmcSim is run with fullData = TRUE.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ## S3 method for class 'dmcsim'
plot(
x,
figType = "summary1",
xlimActivation = NULL,
xlimTrials = NULL,
xlimPDF = NULL,
ylimPDF = NULL,
xlimCDF = NULL,
ylimCAF = NULL,
cafBinLabels = FALSE,
ylimDelta = NULL,
xlimDelta = NULL,
ylimDeltaErrors = NULL,
ylimRt = NULL,
ylimErr = NULL,
legend = TRUE,
labels = c("Compatible", "Incompatible"),
cols = c("black", "green", "red"),
errorBars = FALSE,
xlabs = TRUE,
ylabs = TRUE,
xaxts = TRUE,
yaxts = TRUE,
resetPar = TRUE,
...
)
|
x |
Output from dmcSim |
figType |
summary1, summary2, summary3, activation, trials, pdf, cdf, caf, delta, rtCorrect, rtErrors, errorRate, all |
xlimActivation |
xlimit for activation plot |
xlimTrials |
xlimit for trials plot |
xlimPDF |
xlimit for PDF plot |
ylimPDF |
ylimit for PDF plot |
xlimCDF |
xlimit for CDF plot |
ylimCAF |
ylimit for CAF plot |
cafBinLabels |
TRUE/FALSE |
ylimDelta |
ylimit for delta plot |
xlimDelta |
xlimit for delta plot (Default is 0 to tmax) |
ylimDeltaErrors |
ylimit for delta plot of errors |
ylimRt |
ylimit for rt plot |
ylimErr |
ylimit for er plot |
legend |
TRUE/FALSE (or FUNCTION) plot legend on each plot |
labels |
Condition labels c("Compatible", "Incompatible") default |
cols |
Condition colours c("green", "red") default |
errorBars |
TRUE/FALSE |
xlabs |
TRUE/FALSE |
ylabs |
TRUE/FALSE |
xaxts |
TRUE/FALSE |
yaxts |
TRUE/FALSE |
resetPar |
TRUE/FALSE Reset graphical parameters |
... |
additional plot pars |
Plot (no return value)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.