sim_jmb_predict {MJMbamlss}R Documentation

Simulation Helper Function - Predict the Results for JMbayes-Models

Description

This function takes all the models listed in a folder and predicts the fit.

Usage

sim_jmb_predict(m, wd, model_wd, data_wd, rds = TRUE, gamma_timeconst = TRUE)

Arguments

m

Vector containing all the file names of the models.

wd

Path to simulations folder.

model_wd

Simulation setting folder where the models are saved.

data_wd

Simulation data folder.

rds

Objects are saved as .rds files (for backwards compatibility when .Rdata files were used). Defaults to TRUE.

gamma_timeconst

Only implemented for timeconstant gamma predictors. If FALSE a warning message is returned.


[Package MJMbamlss version 0.1.0 Index]