This project contains the computational model developed and evaluated in "Towards a Generative Model for Emotion Dynamics" (preprint: https://psyarxiv.com/x52ns). This project can be used to simulate data from the model and investigate the behaviour implied by the model.
The package can be installed in R by running devtools::install_github(ryanoisin/GenerativeEmotion)
/Rcontains functions to specify the computational model (model_matrices.R), and generate data from the model (datagen.R)./mancontains manual files for these functions
Showcase.Rmdillustrates how to simulate data from the model
model_matrices.Rfunctions to specify all model componentsdatagen.Rfunction to simulate data from the generative model, using the output ofmodel_matrices()helper_functions.Rcontains functions are used bymodel_matrices()to derive additional model-implied relationships outputted by that function.