File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2437,6 +2437,12 @@ output$currentdataset4 <- renderPrint({
24372437 cat(nwname())
24382438})
24392439
2440+ output $ simnum <- renderText({
2441+ input $ simButton
2442+ n <- isolate(input $ nsims )
2443+ n
2444+ })
2445+ outputOptions(output , ' simnum' , suspendWhenHidden = FALSE )
24402446
24412447output $ simsummary <- renderPrint({
24422448 if (input $ simButton == 0 ){
Original file line number Diff line number Diff line change @@ -996,15 +996,15 @@ url = {http://statnetproject.org}
996996 label = ' Download Plot' ))
997997 ),
998998 tabPanel(' Simulation Summary' ,
999- conditionalPanel(condition = " input.nsims > 1" ,
999+ conditionalPanel(condition = " output.simnum != 1" ,
10001000 wellPanel(
10011001 verbatimTextOutput(' simsummary' ),
10021002 verbatimTextOutput(' simcoef' ),
10031003 verbatimTextOutput(' simstatslabel' ),
10041004 verbatimTextOutput(' simstats' )
10051005 )
10061006 ),
1007- conditionalPanel(condition = " input.nsims == 1" ,
1007+ conditionalPanel(condition = " output.simnum == 1" ,
10081008 verbatimTextOutput(' simsummary2' )
10091009 )
10101010
You can’t perform that action at this time.
0 commit comments