R/model_selection_ui.R

Defines functions model_selection_ui

model_selection_ui <- function(id){

    ns <- shiny::NS(id)

    shiny::fluidRow(
        iatlas.modules::optionsBox(
            width = 12,
            shiny::column(
                width = 12,
                insert_remove_element_ui(
                    ns("select_numeric_covariate"),
                    "Add numerical covariate"
                )
            ),
            shiny::column(
                width = 12,
                insert_remove_element_ui(
                    ns("select_categorical_covariate"),
                    "Add categorical covariate"
                )
            )
        )
    )
}
CRI-iAtlas/iatlas.modules2 documentation built on Dec. 19, 2024, 8:14 p.m.