SimDesign2.20.0 package

Structure for Organizing Monte Carlo Simulation Designs

addMissing

Add missing values to a vector given a MCAR, MAR, or MNAR scheme

Analyse

Compute estimates and statistics

AnalyseIf

Perform a test that indicates whether a given Analyse() function sho...

Attach

Attach objects for easier reference

bias

Compute (relative/standardized) bias summary statistic

bootPredict

Compute prediction estimates for the replication size using bootstrap ...

Bradley1978

Bradley's (1978) empirical robustness interval

CC

Compute congruence coefficient

clusterSetRNGSubStream

Set RNG sub-stream for Pierre L'Ecuyer's RngStreams

colVars

Form Column Standard Deviation and Variances

createDesign

Create the simulation design object

ECR

Compute empirical coverage rates

EDR

Compute the empirical detection/rejection rate for Type I errors and P...

expandDesign

Expand the simulation design object for array computing

expandReplications

Expand the replications to match expandDesign

Generate

Generate data

GenerateIf

Perform a test that indicates whether a given Generate() function sh...

genSeeds

Generate random seeds

getArrayID

Get job array ID (e.g., from SLURM or other HPC array distributions)

IRMSE

Compute the integrated root mean-square error

listAvailableNotifiers

List All Available Notifiers

MAE

Compute the mean absolute error

manageMessages

Increase the intensity or suppress the output of an observed message

manageWarnings

Manage specific warning messages

MSRSE

Compute the relative performance behavior of collections of standard e...

nc

Auto-named Concatenation of Vector or List

new_PushbulletNotifier

Create a Pushbullet Notifier

new_TelegramNotifier

Create a Telegram Notifier

notify.PushbulletNotifier

S3 method to send notifications via Pushbullet

notify

Send a simulation notification

notify.TelegramNotifier

S3 method to send notifications through the Telegram API.

PBA

Probabilistic Bisection Algorithm

quiet

Suppress verbose function messages

RAB

Compute the relative absolute bias of multiple estimators

rbind.SimDesign

Combine two separate SimDesign objects by row

RD

Compute the relative difference

RE

Compute the relative efficiency of multiple estimators

rejectionSampling

Rejection sampling (i.e., accept-reject method)

reSummarise

Run a summarise step for results that have been saved to the hard driv...

rHeadrick

Generate non-normal data with Headrick's (2002) method

rint

Generate integer values within specified range

rinvWishart

Generate data with the inverse Wishart distribution

rmgh

Generate data with the multivariate g-and-h distribution

RMSE

Compute the (normalized) root mean square error

rmvnorm

Generate data with the multivariate normal (i.e., Gaussian) distributi...

rmvt

Generate data with the multivariate t distribution

RobbinsMonro

Robbins-Monro (1951) stochastic root-finding algorithm

RSE

Compute the relative standard error ratio

rtruncate

Generate a random set of values within a truncated range

runArraySimulation

Run a Monte Carlo simulation using array job submissions per condition

runSimulation

Run a Monte Carlo simulation given conditions and simulation functions

rValeMaurelli

Generate non-normal data with Vale & Maurelli's (1983) method

Serlin2000

Empirical detection robustness method suggested by Serlin (2000)

SFA

Surrogate Function Approximation via the Generalized Linear Model

SimAnova

Function for decomposing the simulation into ANOVA-based effect sizes

SimCheck

Check for missing files in array simulations

SimClean

Removes/cleans files and folders that have been saved

SimCollect

Collapse separate simulation files into a single result

SimDesign

Structure for Organizing Monte Carlo Simulation Designs

SimExtract

Function to extract extra information from SimDesign objects

SimFunctions

Template-based generation of the Generate-Analyse-Summarise functions

SimResults

Function to read in saved simulation results

SimShiny

Generate a basic Monte Carlo simulation GUI template

SimSolve

One Dimensional Root (Zero) Finding in Simulation Experiments

Summarise

Summarise simulated data using various population comparison statistic...

timeFormater

Format time string to suitable numeric output

Provides tools to safely and efficiently organize and execute Monte Carlo simulation experiments in R. The package controls the structure and back-end of Monte Carlo simulation experiments by utilizing a generate-analyse-summarise workflow. The workflow safeguards against common simulation coding issues, such as automatically re-simulating non-convergent results, prevents inadvertently overwriting simulation files, catches error and warning messages during execution, implicitly supports parallel processing with high-quality random number generation, and provides tools for managing high-performance computing (HPC) array jobs submitted to schedulers such as SLURM. For a pedagogical introduction to the package see Sigal and Chalmers (2016) <doi:10.1080/10691898.2016.1246953>. For a more in-depth overview of the package and its design philosophy see Chalmers and Adkins (2020) <doi:10.20982/tqmp.16.4.p248>.

  • Maintainer: Phil Chalmers
  • License: GPL (>= 2)
  • Last published: 2025-07-16