| settings2df | R Documentation |
This function adds settings or input elements to a dataframe for displaying in app
settings2df(savedsims, leaveout = c("go", "updOpts", "sett", "refr", "tabsel"))
savedsims |
reactiveValue that contains the saved simulations |
leaveout |
character vector with the the elements that should be left out the dataframe |
a dataframe with settings
Richard Hooijmaijers
if(requireNamespace("tidyr")){
sim1 <- list(THETA1 = 0.5, THETA2 = 1,
alllabs =c("THETA1%=%DUMMY1","THETA2%=%DUMMY2"))
sim2 <- list(THETA1 = 0.9, THETA2 = 1.5)
settings2df(list(sim1 = sim1, sim2 = sim2))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.