Learn R Programming

propagate (version 1.0-4)

summary.propagate: Summary function for 'propagate' objects

Description

Provides a printed summary of the results obtained by propagate, such as statistics of the first/second-order uncertainty propagation, Monte Carlo simulation, the covariance matrix and symbolic as well as evaluated versions of the Gradient and Hessian matrices. If do.sim = TRUE had been set in propagate, skewness/kurtosis and Shapiro-Wilks/Kolmogorov-Smirnov tests for normality are calculated on the Monte-Carlo evaluations.

Usage

# S3 method for propagate
summary(object, ...)

Arguments

object

an object returned from propagate.

...

other parameters for future methods.

Value

A printed summary as described above.

Examples

Run this code
# NOT RUN {
EXPR1 <- expression(x^2 * sin(y))
x <- c(5, 0.01)
y <- c(1, 0.01)
DF1 <- cbind(x, y)
RES1 <- propagate(expr = EXPR1, data = DF1, type = "stat", 
                  do.sim = TRUE, verbose = TRUE)
summary(RES1)
# }

Run the code above in your browser using DataLab