inst/shiny/Gui/server-homoscedasticity.R

# F-test Function

pval_selected <- reactive(
  return(input$pval_cutoff)
)

observeEvent(input$homoTest, {

  output$homescedasticityResult <- renderDataTable({

    validate(need(nrow(userInput()) > 0, "No data"))
    datatable(CCWeights::doFtest(DF = userInput(), p = pval_selected()),
              class = 'cell-border stripe',
              rownames = FALSE,
              options = list(scrollX = TRUE))
    })

  })

Try the CCWeights package in your browser

Any scripts or data that you put into this service are public.

CCWeights documentation built on Nov. 10, 2021, 1:09 a.m.