% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mcs.R
\name{print.mcs}
\alias{print.mcs}
\title{Print method for Monte Carlo Simulation results.}
\usage{
\method{print}{mcs}(x, ...)
}
\arguments{
\item{x}{An object of class "mcs".}

\item{...}{Additional arguments (not used).}
}
\value{
None. Prints the results to the console.
}
\description{
Displays the total mean, variance, standard deviation, and percentiles of the
Monte Carlo Simulation results in a readable format.
}
\examples{
# Set the number of simulations and task distributions for a toy project.
num_sims <- 10000
task_dists <- list(
  list(type = "normal", mean = 10, sd = 2), # Task A: Normal distribution
  list(type = "triangular", a = 5, b = 10, c = 15), # Task B: Triangular distribution
  list(type = "uniform", min = 8, max = 12) # Task C: Uniform distribution
)

# Set the correlation matrix for the correlations between tasks.
cor_mat <- matrix(c(
  1, 0.5, 0.3,
  0.5, 1, 0.4,
  0.3, 0.4, 1
), nrow = 3, byrow = TRUE)

# Run the Monte Carlo sumulation and print the results.
results <- mcs(num_sims, task_dists, cor_mat)
# print(results)
}
