########################################################################################## ###################################### R Code ############################################ ########################################################################################## The supplementary R Code for the article "Prediction Intervals for Load Sharing Systems in Accelerated Life Testing" is provided in form of an R package called "loadshare". This package is available on GitHub (installation details are given below). ########################################################################################## ################################ Package installation #################################### ########################################################################################## The package can be loaded from GitHub via devtools::install_github("KLeckey/loadshare") Note that the dependent packages "Matrix" and "sdprisk" might need to be installed in advance. These packages are available on CRAN and can be installed as usual via install.packages("Matrix") install.packages("sdprisk") ########################################################################################## ############################ Reproducing figures and tables ############################## ########################################################################################## Figures 1-5 and Table 2 of the article as well as the two addtional figures in the supplementary material can be reproduced via the function calls getFigure1(), getFigure2(), getFigure3a(), getFigure3b(), getFigure4a(), getFigure4b(), getFigure5a(), getFigure5b(), getSupFigure1a(), getSupFigure1b(), getSupFigure2a(), getSupFigure2b(), getTable2() Note that the run time of the functions varies depending on the background calculations that need to be made. Figures based on long-running simulations use saved .RData files rather than repeating the simulations.