sim_bamlss_predict {MJMbamlss}R Documentation

Simulation Helper Function - Predict the Results for bamlss-Models

Description

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

Usage

sim_bamlss_predict(m, wd, model_wd, data_wd, rds = TRUE, old = FALSE)

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.

old

Simulated data sets before Version 0.0.3 (samples need to be adapted for standardized survival matrices). Defaults to FALSE.


[Package MJMbamlss version 0.1.0 Index]