A toy R package to teach myself the process of developing R packages. Calculate and visualize Multiple Integral using Monte Carlo method. View Demo
require(devtools)
devtools::install_github("ddlee96/mcmi")
mcimi::mcmi(bounds, integrand, constrains, n)
mcmi::visualize(boungds, constrains)
mcmi(c(0,1), "exp(x)")
mcmi(c(1,3,-1,4), "x*y+x", c("x^3+y^3<=29", "y>=exp(x)-2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.