There are two ways to access the ARPsimulator: via a website or on your own computer, using the RStudio software. Since you are reading this now, you have presumably already figure out at least one of these. Read on to learn more about both options.
The simplest way to access the simulator is via the web, at https://jepusto.shinyapps.io/ARPsimulator/. This version of the simulator is hosted by a service called shinyapps.io, which imposes limitations on the number of concurrent users of the site and total hours of active use of the site. Consequently, you might find that the site is not always available. If you intend to use the ARPsimulator extensively, I would encourage you to follow the steps below in order to install it on your own computer. Doing so has the further advantage that the simulator will tend to run faster on your own machine than it does over the web.
In order to run the ARPsimulator on your own computer, you will need to install two pieces of software (R and RStudio), both of which are open-source and freely available. You will then need to follow several further steps to configure that software. The installation is more involved, but has the benefit of letting you run the simulator as much as you want, at faster speeds than over the web. Feel free to contact me if you have trouble following the steps below.
Once you have these programs installed, you will need to install several R packages that are required to run ARPsimulator. Do this by typing the following commands at the console prompt:
install.packages("devtools") install.packages("ggplot2") install.packages("viridis") install.packages("dplyr") install.packages("shiny") install.packages("markdown") devtools::install_github("jepusto/ARPobservation")
After all of these packages are installed, type the following commands at the console prompt to start the simulator (the simulator should then open in a new window):
To exit the simulator, simply close the window in which it appears or click the red “Stop” icon in the upper right-hand corner of the RStudio console window.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.