WMCapacityGUI {WMCapacity}R Documentation

Start GUI for working memory capacity estimation.

Description

WMCapacityGUI starts the graphical user interface for building and estimating parameters of working memory models. This is the main interface for the WMCapacity package.

Usage

     WMCapacityGUI(data=NULL,filename=NULL,setup=NULL,skipInstr=FALSE,
                   name="Analysis",interface=TRUE,doOutput=TRUE, 
                   storePred=FALSE)
     

Arguments

data a data frame containing the trial-by-trial data to be analyzed.
filename the name of a CSV file containing the trial-by-trial data to be analyzed.
setup object of class WM2Package, containing all the necessary information necessary to start an analysis.
skipInstr logical value determining whether initial instruction screen is skipped.
name analysis name, used for naming output files.
interface logical value determining whether the MCMC and output settings are queried via the interface (only used if setup is nonnull)
doOutput logical value determining whether output options are displayed.
storePred logical value determining whether predicted probabilities are stored in the MCMC chains.

Details

This function starts the GUI for estimating working memory capacity from change detection data, using the hierarchical Bayesian models described in Morey (in preparation).

There are a number of ways of passing data to the function. If you have the trial-by-trial data already loaded in R, you can pass the data via the data argument. If it is in a file, you can load it by passing the path via the filename argument. If you have analyzed the data before and wish to repeat the analysis, you can pass the WM2Package object via the setup argument. If all these arguments are NULL, the GUI will display a file browser so you can select the file.

For further details, click on the Help button in the GUI, or see the user's manual at http://drsmorey.org/research/rdmorey/.

Value

An object of class WM2Package.

See Also

WMCapacityConsole, for the non-GUI interface (useful for simulations).

Examples

     ## Not run: 
     ## load Visual Array data set (Rouder et al., 2008)
     data(VisualArray)

     WMCapacityGUI(data=VisualArray)
     ## End(Not run)
     

[Package WMCapacity version 0.9.1 Index]