Learn R Programming

propagate: Propagation of uncertainty using higher-order Taylor expansion and Monte Carlo simulation (R-package)

propagate is an R package that can conduct uncertainty propagation based on first- and second-order Taylor expansion as well as Monte Carlo simulation. It also houses functionality to estimate confidence and prediction intervals for nonlinear models, create large correlation matrices and automatic distribution fitting.

Installation

You can install the latest development version of the code using the devtools R package.

# Install devtools, if you haven't already.
install.packages("devtools")
library(devtools)
install_github("anspiess/propagate")
source("https://install-github.me/anspiess/propagate")

Copy Link

Version

Install

install.packages('propagate')

Monthly Downloads

945

Version

1.1-0

License

GPL (>= 2)

Maintainer

Andrej-Nikolai Spiess

Last Published

February 25th, 2026

Functions in propagate (1.1-0)

sobol

Compute Sobol Sensitivity Indices from a propagate object
statVec

Transform an input vector into one with defined mean and standard deviation
numDerivs

Functions for creating Gradient and Hessian matrices by numerical differentiation (Richardson's method) of the partial derivatives
moments

Skewness and (excess) Kurtosis of a vector of values
matrixStats

Fast column- and row-wise versions of variance coded in C++
fitDistr

Fitting distributions to observations/Monte Carlo simulations
datasets

Datasets from the GUM "Guide to the expression of uncertainties in measurement" (2008)
interval

Uncertainty propagation based on interval arithmetics
cor2cov

Converting a correlation matrix into a covariance matrix
makeDat

Create a dataframe from the variables defined in an expression
WelchSatter

Welch-Satterthwaite approximation to the 'effective degrees of freedom'
mixCov

Aggregating covariances matrices and/or error vectors into a single covariance matrix
makeDerivs

Utility functions for creating Gradient- and Hessian-like matrices with symbolic derivatives and evaluating them in an environment
bigcor

Creating very large correlation/covariance matrices
stochContr

Stochastic contribution analysis of Monte Carlo simulation-derived propagated uncertainty
propagate

Propagation of uncertainty using higher-order Taylor expansion and Monte Carlo simulation
rDistr

Creating random samples from a variety of useful distributions
predictNLS

Confidence/prediction intervals for (weighted) nonlinear models based on uncertainty propagation
plot.propagate

Plotting function for 'propagate' objects
summary.propagate

Summary function for 'propagate' objects