You will need the X11
package:
https://www.xquartz.org/
install.packages("opencpu")
install.packages("rredis")
opencpu::ocpu_start_server()
framinghamPrism
in Rinstall.packages("devtools")
devtools::install_github("resplab/peermodels")
library("peermodels")
connect_to_model('framinghamPrism', api_key=API_KEY, local_server=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.