Description Usage Arguments Details Value See Also Examples
View source: R/gui_functions.R
The womExtractModel
function allows the user to extract model specification and results that were defined in the wommbatGUI
graphical user interface. This allows the user to extract
results for the purposes of making plots, et cetera, in R.
1 2 |
name |
the name (or number) of the model defined in the GUI. |
The womExtractModel
function allows the user access to the model specifications and analysis results from the GUI, once
they've been defined.
For further details, see the user's manual at http://wmcapacity.r-forge.r-project.org/.
A list containing the following elements (if applicable):
modelName |
The name of the model. |
model |
A list containing the model specification. |
priors |
A list containing the prior specification. |
settings |
A list containing the MCMC settings, if an analysis has been performed. |
results |
A list containing the results, if an analysis has been performed. |
wommbatGUI
, for fitting the working memory models.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
## load Visual Array data set (Rouder et al., 2008)
data(VisualArray)
## Define the model in the GUI
wommbatGUI(dataFrame=VisualArray)
# extract the first model. Replace 'Model' with the model name (in quotes)
myModel = womExtractModel(name='Model')
# examine the posterior means (if an analysis has been performed)
myModel$results$pointEst
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.