plotCIsigmaP | R Documentation |
Build and plot percentile confidence intervals for preconsolidation stress simulated from
simSigmaP
.
plotCIsigmaP(msim, conf.level = 0.95, shade.col = "orange", ordered = TRUE, xlim = NULL, xlab = expression(sigma[P]), las = 1, mar = c(4.5, 6.5, 2, 1), ...)
msim |
an object of class |
conf.level |
the confidence level for the intervals. |
shade.col |
a character or number indicating the color of the shaded area delimiting each CI.
See |
ordered |
logical; should the intervals be displayed according to the value of the simulated mean? |
xlim |
optional; a numeric vector of length two containing the limits of the x-axis. |
xlab |
optional; a character indicating the x-axis label. |
las |
optional; see |
mar |
optional; see |
... |
further graphical parameters; see |
A numeric matrix containing the simulated mean, coefficient of variation, lower and upper CI limits and the name of the method used to calculate the preconsolidation stress.
Anderson Rodrigo da Silva <anderson.agro@hotmail.com>
simSigmaP
, sigmaP
# input data: stress and void ratio pres <- c(1, 12.5, 25, 50, 100, 200, 400, 800, 1600) VR <- c(1.43, 1.41, 1.40, 1.39, 1.35, 1.31, 1.25, 1.18, 1.12) # simulation (may take a few seconds) simres <- simSigmaP(VR, pres, nsim = 30) head(simres) # percentile confidence intervals ci <- plotCIsigmaP(simres, conf.level = 0.95, shade.col = "blue", ordered = TRUE) print(ci) # End (Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.