I want to use brms model fits within an R package function I am writing so that users can get predicted values with their new data. Each model fit object is, however, ~14-15MB and with a total of 6 models this makes the sysdata.R file very large (~52MB when compressed).
Can anyone provide any advice about how I could reduce the file size of each model object whilst retaining its ability to predict with new data?
Thanks in advance!
Please also provide the following information in addition to your question:
- Operating System: Mac OS X High Sierra/Windows 10
- brms Version: 2.3.6