search for: selected_model

Displaying 1 result from an estimated 1 matches for "selected_model".

2024 Jun 06
2
R Shiny Help - Trouble passing user input columns to emmeans after ANOVA analysis
...do you want to graph?", choices = c("Main effects model", "Interaction model")) }) # Create a reactive expression to store the selected graph variable selected_graph <- reactive({ input$graph }) # Create a reactive expression to store the selected model selected_model <- reactive({ input$model_selection }) # Render the plot based on the selected variables output$graph_plot <- renderPlot({ req(data(), selected_graph(), selected_model()) cols <- selected_columns() if (selected_graph() == cols$column2 | selected_model() == "Mai...