Skip to content

Commit

Permalink
23.7.10.1
Browse files Browse the repository at this point in the history
Bugfix: add data loading within the shiny function
  • Loading branch information
Sciurus365 committed Jul 10, 2023
1 parent 6f341f4 commit 9267afb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/shiny.R
@@ -1,5 +1,9 @@
shiny_server <- function(input, output, session) {
utils::data("MDDThresholds", package = "Isinglandr", envir = environment())
utils::data("MDDConnectivity", package = "Isinglandr", envir = environment())

# produce the landscape plot

output$l <- shiny::renderPlot({
original_network <- make_2d_Isingland(input$coef_t * MDDThresholds,
input$coef_c * MDDConnectivity,
Expand Down

0 comments on commit 9267afb

Please sign in to comment.