plot.propagate: Plotting function for 'propagate' objects

Description Usage Arguments Value Author(s) Examples

View source: R/plot.propagate.R

Description

Creates a histogram of the evaluated results from the multivariate simulated data, along with a density curve, alpha-based confidence intervals, median and mean.

Usage

1
2
## S3 method for class 'propagate'
plot(x, logx = FALSE, ...)

Arguments

x

an object returned from propagate.

logx

logical. Should the data be displayed on a logarithmic abscissa?

...

other parameters to hist.

Value

A plot as described above.

Author(s)

Andrej-Nikolai Spiess

Examples

1
2
3
4
5
6
7
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", 
                  nsim = 100000, alpha = 0.01)
plot(RES1)

propagate documentation built on May 7, 2018, 1:03 a.m.