@@ -157,26 +157,24 @@ shinyServer(function(input, output, session) {
157157 output $ n_eff_warnings_title <- renderText({
158158 paste0(" The following parameters have an effective sample size less than " , input $ n_eff_threshold ," % of the total number of samples: " )
159159 })
160+ output $ n_eff_warnings <- renderText({
161+ n_eff_warnings()
162+ })
160163 # ### TEXT: rhat warnings ####
161164 output $ rhat_warnings_title <- renderText({
162165 paste0(" The following parameters have an Rhat value above " , input $ rhat_threshold ," : " )
163166 })
167+ output $ rhat_warnings <- renderText({
168+ rhat_warnings()
169+ })
164170 # ### TEXT: mcmc se to posterior sd warnings ####
165171 output $ mcse_over_sd_warnings_title <- renderText({
166172 paste0(" The following parameters have a Monte Carlo standard error greater than " , input $ mcse_threshold ," % of the posterior standard deviation:" )
167173 })
168- # ### TEXT: n_eff warnings ####
169- output $ n_eff_warnings <- renderText({
170- paste(.n_eff_warnings(fit_summary , threshold = input $ n_eff_threshold ), collapse = " \n " )
171- })
172- # ### TEXT: rhat warnings ####
173- output $ rhat_warnings <- renderText({
174- paste(.rhat_warnings(fit_summary , threshold = input $ rhat_threshold ), collapse = " \n " )
175- })
176- # ### TEXT: mcmc se to posterior sd warnings ####
177174 output $ mcse_over_sd_warnings <- renderText({
178- paste(. mcse_over_sd_warnings(fit_summary , threshold = input $ mcse_threshold ), collapse = " \n " )
175+ mcse_over_sd_warnings()
179176 })
177+
180178 # ### PLOT: autocorrelation ####
181179 output $ autocorr_plot_out <- renderPlot({
182180 autocorr_plot()
0 commit comments