<- setContext(my_model,author="Jacob Idec",datestring="5/4/2023",description="A model saved for the purpose of demonstrating setContext and writeRole within the roleR user guide") my_model
13 Data sharing and reproducibility
13.1 Saving model results
It is good practice to save your models and experiments so that other researchers can understand and repeat your results. Before saving you will want to attach context metadata to your object using the ‘setContext’ function.
Then you can save using the ‘writeRole’ function
writeRole(my_model,filename="my_model")
13.2 Stochasticity and non-repeatability
May want to allow setting a seed in roleModels and experiments - note that this doesn’t work currently because the random number generator is on the Cpp side