Creates a simple PDF analysis for a simulation vector. PDF is saved in current working directory

simulation_analysis(x)

Arguments

x

A simulation vector

Examples

x <- MC_pi simulation_analysis(x)
#> $Mean #> [1] 3.1398 #> #> $Variance #> [1] 2.7008 #> #> $`Relative Error` #> [1] 0.001 #> #> $`Confidence interval` #> [1] "[ 3.1345 ; 3.1451 ]" #>
#> pdf #> 2