| MC.summary | R Documentation |
A function that computes the summary statistics of a Monte Carlo simulation result.
MC.summary(p1, data)
p1 |
The independient variable. A |
data |
A |
This function is internally invoked by the MC.analysis function to compute the summary
statistics of the Monte Carlo simulation under analysis.
A dataframe with n observations of 15 variables, where n is the number of columns
of the "data" argument. The 15 variables are time series with the summary statistics of the
Monte Carlo data: 1) idx: an index for the dataset
equal to 1; 2) Mean: the mean; 3) Sd: the standard deviation;
4) Variance, the variance; 5) q05: the five percent quantile;
6) q25: the 25 percent quantile; 7) q50: the 50 percent quantile;
8) q75: the 75 percent quantile; 9) q95: the 95 percent quantile;
10) q995: the 99.5 percent quantile; 11) q999: the 99.9 percent quantile;
12) Max: the maximum; 13) Sum: the sum; 14) time: the time;
15) p1: the independient variable.
J.A. Torres-Matallana
library(stUPscales)
library(EmiStatR)
data(P1)
colnames(P1)
new_data <- t(matrix(data = rep(runif(nrow(P1), 10, 100), 5), nrow = nrow(P1), ncol = 5))
new_summary <- MC.summary(p1 = P1, data = new_data)
str(new_summary)
head(new_summary)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.